Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 189.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 55.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08769, allocations: 46.63 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.1917/0.2795, allocations: 12.82 MB / 388.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008796/0.2883, allocations: 4.246 MB / 392.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.2904, allocations: 71.41 kB / 393 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.2928, allocations: 0.9728 MB / 394 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.2974, allocations: 1.178 MB / 395.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2991, allocations: 0.5268 MB / 395.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006948/0.3061, allocations: 4.674 MB / 400.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005732/0.3118, allocations: 3.601 MB / 404 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.3169, allocations: 2.123 MB / 406.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005346/0.3223, allocations: 2.563 MB / 408.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.3246, allocations: 0.5522 MB / 409.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.3283, allocations: 0.6389 MB / 409.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002887/0.3312, allocations: 1.526 MB / 411.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004773/0.336, allocations: 2.484 MB / 413.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009347/0.3454, allocations: 7.425 MB / 421.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3454, allocations: 0 / 421.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3454, allocations: 0 / 421.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002339/0.3457, allocations: 0 / 421.3 MB, free: 2.16 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01177/0.3574, allocations: 4.691 MB / 426 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3575, allocations: 8.031 kB / 426 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3589, allocations: 499.5 kB / 426.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.3627, allocations: 2.408 MB / 428.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.363, allocations: 275 kB / 429.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.3635, allocations: 351.9 kB / 429.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008778/0.3723, allocations: 5.022 MB / 434.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-05/0.3724, allocations: 4 kB / 434.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.3728, allocations: 148 kB / 434.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.3729, allocations: 187 kB / 434.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007139/0.3801, allocations: 4.294 MB / 439.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/0.4025, allocations: 14.72 MB / 453.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.407, allocations: 4.192 MB / 458 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.4101, allocations: 1.991 MB / 460 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.4104, allocations: 135 kB / 460.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.4105, allocations: 56.56 kB / 460.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.747e-06/0.4105, allocations: 3.938 kB / 460.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01933/0.4298, allocations: 10.03 MB / 470.2 MB, free: 232 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.4299, allocations: 73.41 kB / 470.3 MB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.4334, allocations: 2.502 MB / 472.8 MB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.4336, allocations: 65.7 kB / 472.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4347, allocations: 1.623 MB / 474.5 MB, free: 11.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006104/0.4353, allocations: 0.7238 MB / 475.2 MB, free: 11.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006273/0.436, allocations: 416.3 kB / 475.6 MB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.4361, allocations: 301.1 kB / 475.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4379, allocations: 1.301 MB / 477.2 MB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.44, allocations: 1.786 MB / 479 MB, free: 7.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/0.4441, allocations: 3.215 MB / 482.2 MB, free: 3.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4441, allocations: 7.938 kB / 482.2 MB, free: 3.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006444/0.4505, allocations: 4.075 MB / 486.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4506, allocations: 15.91 kB / 486.3 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.4506, allocations: 12 kB / 486.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/0.4532, allocations: 0.8759 MB / 487.2 MB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.4555, allocations: 0.5266 MB / 487.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4659, allocations: 9.482 MB / 497.2 MB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.4683, allocations: 111.9 kB / 497.3 MB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.4686, allocations: 91.98 kB / 497.4 MB, free: 4.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002333/0.471, allocations: 1.215 MB / 498.6 MB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/0.4717, allocations: 276.7 kB / 498.9 MB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/0.478, allocations: 3.719 MB / 0.4909 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.478, allocations: 24 kB / 0.4909 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.4781, allocations: 8 kB / 0.4909 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.4781, allocations: 15.95 kB / 0.4909 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.4927, allocations: 8.013 MB / 0.4987 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.4928, allocations: 8.031 kB / 0.4987 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.4945, allocations: 383.5 kB / 0.4991 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/0.4976, allocations: 0.933 MB / 0.5 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003083/0.4979, allocations: 55.97 kB / 0.5001 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.5103, allocations: 11.06 MB / 0.5109 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5103, allocations: 4 kB / 0.5109 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009391/0.5197, allocations: 5.504 MB / 0.5162 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.5216, allocations: 0.6343 MB / 0.5169 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/0.5221, allocations: 51.98 kB / 0.5169 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.5237, allocations: 119.8 kB / 0.517 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/0.5241, allocations: 173.8 kB / 0.5172 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.5243, allocations: 63.98 kB / 0.5172 GB, free: 3.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003/0.5273, allocations: 1.731 MB / 0.5189 GB, free: 1.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5273, allocations: 3.938 kB / 0.5189 GB, free: 1.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003259/0.5306, allocations: 0.8007 MB / 0.5197 GB, free: 0.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007265/0.5313, allocations: 236.5 kB / 0.52 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006741/0.5381, allocations: 3.9 MB / 0.5238 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5381, allocations: 0 / 0.5238 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.5426, allocations: 2.484 MB / 0.5262 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/0.5472, allocations: 0.7866 MB / 0.527 GB, free: 8.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.5619, allocations: 7.721 MB / 0.5345 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.5647, allocations: 2.73 MB / 0.5372 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.5658, allocations: 191.4 kB / 0.5373 GB, free: 14.21 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5658, allocations: 0 / 0.5373 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Templates: time 0.3391/0.9049, allocations: 142 MB / 0.676 GB, free: 39.33 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches