Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001954/0.001954, allocations: 167.2 kB / 16.72 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007355/0.0007353, allocations: 90.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004324/0.2151, allocations: 5.106 MB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2179, allocations: 2.013 MB / 382.2 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003934/0.2183, allocations: 31.97 kB / 382.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.2189, allocations: 305.8 kB / 382.5 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.2198, allocations: 493.7 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.22, allocations: 144.2 kB / 383.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.2219, allocations: 2.351 MB / 385.5 MB, free: 37.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.2234, allocations: 1.535 MB / 387.1 MB, free: 36.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.2249, allocations: 0.7667 MB / 387.8 MB, free: 35.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.2258, allocations: 0.9844 MB / 388.8 MB, free: 34.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.226, allocations: 128 kB / 388.9 MB, free: 34.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.2265, allocations: 223.8 kB / 389.2 MB, free: 34.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.2268, allocations: 0.514 MB / 389.7 MB, free: 34.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.2275, allocations: 0.9973 MB / 390.7 MB, free: 33.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2292, allocations: 3.082 MB / 393.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2292, allocations: 0 / 393.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2292, allocations: 0 / 393.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.16e-05/0.2293, allocations: 0 / 393.7 MB, free: 29.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002773/0.2321, allocations: 2.014 MB / 395.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2321, allocations: 16.02 kB / 395.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/0.2326, allocations: 250.4 kB / 396 MB, free: 27.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.234, allocations: 1.224 MB / 397.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.2341, allocations: 139.5 kB / 397.4 MB, free: 26.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.2343, allocations: 172 kB / 397.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.2374, allocations: 2.539 MB / 400.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.2374, allocations: 0 / 400.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2376, allocations: 75.98 kB / 400.2 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/0.2377, allocations: 95.58 kB / 400.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.2403, allocations: 2.106 MB / 402.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007959/0.2483, allocations: 7.515 MB / 409.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2494, allocations: 1.27 MB / 411.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.25, allocations: 491 kB / 411.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.2501, allocations: 109.5 kB / 411.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.2502, allocations: 39 kB / 411.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/0.2502, allocations: 0 / 411.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.003209/0.2534, allocations: 2.292 MB / 414.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2534, allocations: 85.59 kB / 414.1 MB, free: 8.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.255, allocations: 1.5 MB / 415.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.255, allocations: 37.7 kB / 415.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.2554, allocations: 0.975 MB / 416.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.2555, allocations: 201.3 kB / 416.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.2556, allocations: 24 kB / 416.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.2557, allocations: 361.9 kB / 417.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.2562, allocations: 450.3 kB / 417.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007356/0.257, allocations: 1.094 MB / 418.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.2583, allocations: 1.631 MB / 420.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2583, allocations: 8 kB / 420.4 MB, free: 2 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002063/0.2604, allocations: 1.687 MB / 422.1 MB, free: 308 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2604, allocations: 15.98 kB / 422.1 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.2604, allocations: 24 kB / 422.1 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.2611, allocations: 172.8 kB / 422.3 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.2619, allocations: 287.6 kB / 422.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.2642, allocations: 2.166 MB / 424.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.2651, allocations: 87.67 kB / 424.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.2652, allocations: 64 kB / 424.9 MB, free: 13.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.2662, allocations: 0.704 MB / 425.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.2664, allocations: 138.3 kB / 425.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.2678, allocations: 0.8413 MB / 426.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2678, allocations: 8 kB / 426.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2678, allocations: 0 / 426.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2678, allocations: 3.984 kB / 426.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.2714, allocations: 2.518 MB / 429.1 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2714, allocations: 8.094 kB / 429.1 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.2718, allocations: 99.88 kB / 429.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006194/0.2724, allocations: 160.7 kB / 429.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2725, allocations: 16 kB / 429.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.2745, allocations: 2.092 MB / 431.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2745, allocations: 4 kB / 431.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.2764, allocations: 1.332 MB / 432.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.2769, allocations: 287.5 kB / 433.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.277, allocations: 19.98 kB / 433.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.2776, allocations: 55.8 kB / 433.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2777, allocations: 55.8 kB / 433.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.2778, allocations: 20 kB / 433.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.2792, allocations: 1.024 MB / 434.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2792, allocations: 0 / 434.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001263/0.2804, allocations: 344 kB / 434.6 MB, free: 3.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003872/0.2808, allocations: 174.2 kB / 434.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.2826, allocations: 1.169 MB / 435.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2827, allocations: 0 / 435.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.2834, allocations: 0.5109 MB / 436.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.2853, allocations: 358.8 kB / 436.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.2903, allocations: 3.775 MB / 440.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.2915, allocations: 1.666 MB / 442.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2918, allocations: 99.42 kB / 442.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2918, allocations: 0 / 442.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03739/0.3292, allocations: 31.89 MB / 474.2 MB, free: 11.53 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches