Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2682, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.0062/0.2744, allocations: 5.932 MB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2771, allocations: 2.111 MB / 417.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.2775, allocations: 39.81 kB / 417.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.2782, allocations: 397.4 kB / 417.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009515/0.2792, allocations: 0.5515 MB / 418.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.2795, allocations: 223.8 kB / 418.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.2813, allocations: 2.225 MB / 420.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.2833, allocations: 2.228 MB / 422.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2849, allocations: 1.06 MB / 424 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.2862, allocations: 1.203 MB / 425.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.2866, allocations: 288 kB / 425.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.2872, allocations: 383.8 kB / 425.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005773/0.2878, allocations: 0.7013 MB / 426.6 MB, free: 156 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.289, allocations: 1.237 MB / 427.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.2921, allocations: 3.796 MB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2921, allocations: 0 / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2921, allocations: 3.938 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.2922, allocations: 0 / 431.6 MB, free: 11.1 MB / 350.1 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.003732/0.2959, allocations: 2.444 MB / 434 MB, free: 8.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.296, allocations: 16.03 kB / 434 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.2968, allocations: 283.5 kB / 434.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.2986, allocations: 1.373 MB / 435.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.2987, allocations: 139.5 kB / 435.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.2989, allocations: 172 kB / 436 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.3025, allocations: 2.543 MB / 438.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.3025, allocations: 0 / 438.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.3027, allocations: 72 kB / 438.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.2e-05/0.3028, allocations: 95.58 kB / 438.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.3058, allocations: 2.118 MB / 440.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009074/0.3149, allocations: 7.381 MB / 448.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.3162, allocations: 1.265 MB / 449.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.3169, allocations: 474.9 kB / 449.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.3171, allocations: 109.5 kB / 450 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3171, allocations: 47 kB / 450.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.033e-06/0.3171, allocations: 0 / 450.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003521/0.3207, allocations: 2.291 MB / 452.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.3207, allocations: 85.55 kB / 452.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3225, allocations: 1.521 MB / 454 MB, free: 4.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.3225, allocations: 37.7 kB / 454 MB, free: 4.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.3231, allocations: 1.002 MB / 455 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3233, allocations: 198.4 kB / 455.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.3236, allocations: 246.7 kB / 455.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3237, allocations: 357.9 kB / 455.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.3244, allocations: 462.4 kB / 456.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.3255, allocations: 1.09 MB / 457.4 MB, free: 356 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.3274, allocations: 1.623 MB / 459 MB, free: 14.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3274, allocations: 4 kB / 459 MB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002431/0.3299, allocations: 1.699 MB / 460.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3299, allocations: 16 kB / 460.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3299, allocations: 23.94 kB / 460.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/0.3306, allocations: 172.9 kB / 460.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.3316, allocations: 279.5 kB / 461.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.3339, allocations: 2.365 MB / 463.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/0.3347, allocations: 87.81 kB / 463.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.3348, allocations: 68 kB / 463.7 MB, free: 9.555 MB / 382.1 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.0008455/0.3357, allocations: 0.7229 MB / 464.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.3359, allocations: 139.2 kB / 464.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3372, allocations: 0.8374 MB / 465.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3373, allocations: 4 kB / 465.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3373, allocations: 4 kB / 465.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3373, allocations: 3.984 kB / 465.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.3406, allocations: 2.49 MB / 467.9 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3406, allocations: 8.062 kB / 467.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.341, allocations: 96.22 kB / 468 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005716/0.3416, allocations: 156.6 kB / 468.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.3416, allocations: 15.98 kB / 468.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.3437, allocations: 2.307 MB / 470.4 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3437, allocations: 12.02 kB / 470.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.3455, allocations: 1.333 MB / 471.8 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.3458, allocations: 284.2 kB / 472.1 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.346, allocations: 19.98 kB / 472.1 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3466, allocations: 43.97 kB / 472.1 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3467, allocations: 51.94 kB / 472.2 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.3467, allocations: 20 kB / 472.2 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.348, allocations: 1.044 MB / 473.2 MB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.348, allocations: 0 / 473.2 MB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001093/0.3491, allocations: 344 kB / 473.6 MB, free: 15.3 MB / 398.1 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.000368/0.3495, allocations: 189.5 kB / 473.8 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3512, allocations: 1.157 MB / 474.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.3512, allocations: 4 kB / 474.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.352, allocations: 0.5147 MB / 475.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.3534, allocations: 376.2 kB / 475.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.3578, allocations: 3.249 MB / 479.1 MB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.359, allocations: 1.702 MB / 480.8 MB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006847/0.3597, allocations: 323.3 kB / 481.1 MB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.3599, allocations: 91.42 kB / 481.2 MB, free: 7.594 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3599, allocations: 0 / 481.2 MB, free: 7.594 MB / 398.1 MB Notification: Performance of Templates: time 0.02736/0.3873, allocations: 18.95 MB / 0.4884 GB, free: 4.828 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches