Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001059/0.001059, allocations: 187 kB / 17.92 MB, free: 3.855 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.147/1.147, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.001019/0.001019, allocations: 97.09 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008803/0.0008804, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2106, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006135/0.2167, allocations: 5.854 MB / 379.7 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.2198, allocations: 2.114 MB / 381.8 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.2202, allocations: 32.38 kB / 381.8 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.2211, allocations: 332.4 kB / 382.2 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2221, allocations: 0.5125 MB / 382.7 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.2225, allocations: 199 kB / 382.9 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.2244, allocations: 2.568 MB / 385.4 MB, free: 37.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.2259, allocations: 1.542 MB / 387 MB, free: 36.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.2277, allocations: 0.8962 MB / 387.9 MB, free: 35.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008899/0.2286, allocations: 1.152 MB / 389 MB, free: 34.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.2288, allocations: 176 kB / 389.2 MB, free: 34.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.2293, allocations: 275.8 kB / 389.5 MB, free: 33.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.2296, allocations: 0.5996 MB / 390.1 MB, free: 33.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.2303, allocations: 1.097 MB / 391.2 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.2321, allocations: 3.661 MB / 394.8 MB, free: 28.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.2321, allocations: 0 / 394.8 MB, free: 28.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2322, allocations: 0 / 394.8 MB, free: 28.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.2322, allocations: 0 / 394.8 MB, free: 28.44 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.003024/0.2352, allocations: 2.377 MB / 397.2 MB, free: 26.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2352, allocations: 8.031 kB / 397.2 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.2357, allocations: 250.3 kB / 397.4 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.2373, allocations: 1.224 MB / 398.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.2373, allocations: 135.5 kB / 398.8 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.2376, allocations: 176 kB / 399 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.2403, allocations: 2.547 MB / 401.5 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.2404, allocations: 0 / 401.5 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.2405, allocations: 72 kB / 401.6 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/0.2406, allocations: 99.58 kB / 401.7 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2429, allocations: 2.106 MB / 403.8 MB, free: 19.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007388/0.2503, allocations: 7.46 MB / 411.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.2514, allocations: 1.26 MB / 412.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/0.2519, allocations: 478.9 kB / 413 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2521, allocations: 113.5 kB / 413.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2521, allocations: 43 kB / 413.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 2.063e-06/0.2521, allocations: 0 / 413.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002833/0.255, allocations: 2.261 MB / 415.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.255, allocations: 89.55 kB / 415.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2565, allocations: 1.508 MB / 417 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.2565, allocations: 33.7 kB / 417 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.2569, allocations: 0.9711 MB / 418 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.257, allocations: 193.4 kB / 418.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.2572, allocations: 242.6 kB / 418.4 MB, free: 4.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.2573, allocations: 361.9 kB / 418.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.2579, allocations: 458.3 kB / 419.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.2586, allocations: 1.098 MB / 420.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.2599, allocations: 1.619 MB / 421.9 MB, free: 0 / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/0.26, allocations: 4.156 kB / 421.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002459/0.2624, allocations: 1.69 MB / 423.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.2625, allocations: 12.56 kB / 423.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.2625, allocations: 24 kB / 423.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.2632, allocations: 184.6 kB / 423.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.2641, allocations: 279.5 kB / 424.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.2663, allocations: 2.154 MB / 426.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.2672, allocations: 83.67 kB / 426.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.2673, allocations: 72 kB / 426.4 MB, free: 11.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.2683, allocations: 0.7001 MB / 427.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.2685, allocations: 138.4 kB / 427.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.2698, allocations: 0.8451 MB / 428.1 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2699, allocations: 4 kB / 428.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2699, allocations: 0 / 428.1 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2699, allocations: 4 kB / 428.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.2734, allocations: 2.51 MB / 430.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2734, allocations: 4 kB / 430.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.2738, allocations: 96.22 kB / 430.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005482/0.2743, allocations: 156.8 kB / 430.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.2744, allocations: 12 kB / 430.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.2763, allocations: 2.096 MB / 433 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2763, allocations: 4 kB / 433 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008473/0.2847, allocations: 7.041 MB / 440 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.2852, allocations: 279.4 kB / 440.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2853, allocations: 19.98 kB / 440.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.2859, allocations: 43.97 kB / 440.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.286, allocations: 51.94 kB / 440.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.2861, allocations: 20 kB / 440.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0013/0.2874, allocations: 1.036 MB / 441.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2874, allocations: 0 / 441.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001556/0.2889, allocations: 476 kB / 441.9 MB, free: 11.23 MB / 330.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004446/0.2894, allocations: 182.1 kB / 442.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2911, allocations: 1.153 MB / 443.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.2912, allocations: 4 kB / 443.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.2919, allocations: 0.5109 MB / 443.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.2934, allocations: 351.5 kB / 444.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/0.2992, allocations: 4.483 MB / 448.6 MB, free: 4.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.3004, allocations: 1.714 MB / 450.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000861/0.3013, allocations: 323.4 kB / 450.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3015, allocations: 95.42 kB / 450.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3015, allocations: 0 / 450.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of Templates: time 0.03142/0.3329, allocations: 19.1 MB / 469.8 MB, free: 15.17 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches