Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001214/0.001214, allocations: 188.2 kB / 18.67 MB, free: 4.383 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.443/1.443, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.002287/0.002287, allocations: 59.92 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1109, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.2017/0.3126, allocations: 12.8 MB / 387.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009081/0.3218, allocations: 4.256 MB / 391.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.3247, allocations: 67.72 kB / 391.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.3278, allocations: 0.9714 MB / 392.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.3322, allocations: 1.173 MB / 393.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3338, allocations: 0.5252 MB / 394.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.34, allocations: 4.677 MB / 399.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004731/0.3448, allocations: 3.605 MB / 402.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.3496, allocations: 2.111 MB / 404.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00548/0.3551, allocations: 2.562 MB / 407.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.357, allocations: 0.5527 MB / 408 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.3598, allocations: 0.6432 MB / 408.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.3619, allocations: 1.521 MB / 410.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004632/0.3666, allocations: 2.481 MB / 412.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009814/0.3764, allocations: 7.446 MB / 420.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3765, allocations: 0 / 420.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3765, allocations: 0 / 420.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.3767, allocations: 0 / 420.1 MB, free: 2.543 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.0131/0.3898, allocations: 4.8 MB / 424.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3899, allocations: 8.031 kB / 424.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001382/0.3913, allocations: 0.502 MB / 425.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.3929, allocations: 0.5253 MB / 425.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.3977, allocations: 2.409 MB / 428.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.398, allocations: 271 kB / 428.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008194/0.3989, allocations: 363.9 kB / 428.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4089, allocations: 5.013 MB / 433.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.06e-05/0.409, allocations: 7.953 kB / 433.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.4094, allocations: 148 kB / 434.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/0.4096, allocations: 191 kB / 434.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00826/0.4179, allocations: 4.287 MB / 438.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.4463, allocations: 14.77 MB / 453.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/0.4523, allocations: 4.192 MB / 457.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/0.4564, allocations: 1.994 MB / 459.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.4569, allocations: 135 kB / 459.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.899e-05/0.457, allocations: 60.56 kB / 459.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.108e-06/0.457, allocations: 0 / 459.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02424/0.4813, allocations: 10.07 MB / 469.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.4814, allocations: 73.41 kB / 469.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/0.4862, allocations: 2.506 MB / 472.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00033/0.4866, allocations: 61.7 kB / 472.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.488, allocations: 1.658 MB / 474.1 MB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.489, allocations: 0.7668 MB / 474.8 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009727/0.4899, allocations: 420.4 kB / 475.2 MB, free: 10.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4901, allocations: 301.1 kB / 475.5 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4924, allocations: 1.305 MB / 476.8 MB, free: 8.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.495, allocations: 1.778 MB / 478.6 MB, free: 6.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/0.5004, allocations: 3.219 MB / 481.8 MB, free: 3.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/0.5005, allocations: 11.88 kB / 481.9 MB, free: 3.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008474/0.5089, allocations: 4.08 MB / 485.9 MB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.509, allocations: 11.91 kB / 485.9 MB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.5091, allocations: 20 kB / 486 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.512, allocations: 0.8753 MB / 486.8 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.5142, allocations: 0.5304 MB / 487.4 MB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.5255, allocations: 9.495 MB / 496.9 MB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.5281, allocations: 119.8 kB / 497 MB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.5285, allocations: 88 kB / 497.1 MB, free: 3.656 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.002615/0.5311, allocations: 1.204 MB / 498.3 MB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.5321, allocations: 298.1 kB / 498.6 MB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.5401, allocations: 3.727 MB / 0.4905 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.5402, allocations: 23.94 kB / 0.4905 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/0.5402, allocations: 12 kB / 0.4905 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.5403, allocations: 19.83 kB / 0.4906 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.5569, allocations: 8.017 MB / 0.4984 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.5569, allocations: 7.984 kB / 0.4984 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.5587, allocations: 383.8 kB / 0.4988 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.562, allocations: 0.929 MB / 0.4997 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/0.5624, allocations: 55.97 kB / 0.4997 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.5762, allocations: 11.07 MB / 0.5105 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5763, allocations: 4 kB / 0.5105 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5866, allocations: 5.517 MB / 0.5159 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/0.5883, allocations: 0.6475 MB / 0.5166 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008203/0.5892, allocations: 55.98 kB / 0.5166 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.591, allocations: 115.8 kB / 0.5167 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/0.5915, allocations: 181.8 kB / 0.5169 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.5917, allocations: 59.98 kB / 0.517 GB, free: 2.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003608/0.5953, allocations: 1.731 MB / 0.5186 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5954, allocations: 0 / 0.5186 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003419/0.5988, allocations: 0.7969 MB / 0.5194 GB, free: 15.98 MB / 462.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.009994/0.6088, allocations: 6.213 MB / 0.5255 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006493/0.6153, allocations: 3.896 MB / 0.5293 GB, free: 5.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6154, allocations: 4 kB / 0.5293 GB, free: 5.711 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/0.6195, allocations: 2.48 MB / 0.5317 GB, free: 3.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/0.6237, allocations: 0.7953 MB / 0.5325 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2406/0.8643, allocations: 29.61 MB / 0.5614 GB, free: 146.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/0.8678, allocations: 2.765 MB / 0.5641 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002462/0.8702, allocations: 0.6845 MB / 0.5648 GB, free: 145.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/0.8722, allocations: 1.406 MB / 0.5662 GB, free: 144 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.8723, allocations: 0 / 0.5662 GB, free: 144 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.9913, allocations: 73.57 MB / 0.638 GB, free: 83.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.16, allocations: 10.17 kB / 0.638 GB, free: 83.5 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches