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.001172/0.001172, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.0012/0.0012, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00121/0.00121, allocations: 51.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07128/0.0725, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1938/0.2664, allocations: 12.8 MB / 387.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008735/0.2752, allocations: 4.249 MB / 391.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.2783, allocations: 67.66 kB / 391.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.2817, allocations: 1.014 MB / 392.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.2869, allocations: 1.227 MB / 394 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.2887, allocations: 0.5308 MB / 394.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007223/0.2959, allocations: 4.674 MB / 399.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006839/0.3028, allocations: 3.597 MB / 402.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006604/0.3094, allocations: 2.123 MB / 404.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006814/0.3163, allocations: 2.562 MB / 407.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.3189, allocations: 0.5526 MB / 408.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.3229, allocations: 0.6423 MB / 408.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003406/0.3263, allocations: 1.524 MB / 410.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006188/0.3325, allocations: 2.483 MB / 412.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.3456, allocations: 7.445 MB / 420.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3457, allocations: 0 / 420.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3457, allocations: 0 / 420.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003573/0.346, allocations: 0 / 420.2 MB, free: 2.461 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.01545/0.3615, allocations: 4.796 MB / 425 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.3616, allocations: 9.625 kB / 425 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001689/0.3633, allocations: 0.4981 MB / 425.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.3655, allocations: 0.5214 MB / 426 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/0.3714, allocations: 2.417 MB / 428.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.3718, allocations: 274.9 kB / 428.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.373, allocations: 351.9 kB / 429 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3848, allocations: 5.013 MB / 434 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.74e-05/0.3849, allocations: 23.86 kB / 434 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.3853, allocations: 144 kB / 434.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/0.3855, allocations: 187 kB / 434.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007924/0.3934, allocations: 4.291 MB / 438.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02746/0.4209, allocations: 14.76 MB / 453.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.4259, allocations: 4.199 MB / 457.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.4295, allocations: 1.991 MB / 459.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.4299, allocations: 139 kB / 459.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.43, allocations: 61.25 kB / 459.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.787e-06/0.43, allocations: 0 / 459.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02405/0.454, allocations: 10.06 MB / 469.9 MB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.4541, allocations: 77.41 kB / 469.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/0.4591, allocations: 2.51 MB / 472.5 MB, free: 13.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003531/0.4595, allocations: 61.7 kB / 472.5 MB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4607, allocations: 1.654 MB / 474.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00093/0.4617, allocations: 0.7668 MB / 474.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008626/0.4626, allocations: 428.4 kB / 475.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.4627, allocations: 301.1 kB / 475.6 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.4646, allocations: 1.301 MB / 477 MB, free: 8.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.4668, allocations: 1.779 MB / 478.7 MB, free: 6.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.4709, allocations: 3.215 MB / 481.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.4709, allocations: 11.94 kB / 482 MB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006267/0.4772, allocations: 4.08 MB / 486 MB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4772, allocations: 19.84 kB / 486.1 MB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.4773, allocations: 12 kB / 486.1 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.4798, allocations: 0.8792 MB / 486.9 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.4819, allocations: 0.5266 MB / 487.5 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00981/0.4917, allocations: 9.491 MB / 497 MB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.494, allocations: 119.9 kB / 497.1 MB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.4943, allocations: 88 kB / 497.2 MB, free: 3.578 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.002097/0.4964, allocations: 1.219 MB / 498.4 MB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/0.4971, allocations: 294.1 kB / 498.7 MB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/0.5029, allocations: 3.723 MB / 0.4906 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.5029, allocations: 24 kB / 0.4906 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.503, allocations: 8 kB / 0.4907 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.503, allocations: 11.91 kB / 0.4907 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.5156, allocations: 8.018 MB / 0.4985 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5156, allocations: 3.938 kB / 0.4985 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.5174, allocations: 383.6 kB / 0.4989 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.5204, allocations: 0.9334 MB / 0.4998 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.5206, allocations: 51.98 kB / 0.4998 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.5324, allocations: 11.07 MB / 0.5106 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5324, allocations: 8.062 kB / 0.5106 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009309/0.5418, allocations: 5.521 MB / 0.516 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/0.5436, allocations: 0.6475 MB / 0.5167 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007554/0.5444, allocations: 48 kB / 0.5167 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.5462, allocations: 123.8 kB / 0.5168 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.5466, allocations: 177.8 kB / 0.517 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.5468, allocations: 59.98 kB / 0.5171 GB, free: 2.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003546/0.5504, allocations: 1.734 MB / 0.5187 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5504, allocations: 0 / 0.5187 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00334/0.5538, allocations: 0.793 MB / 0.5195 GB, free: 15.9 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.009003/0.5628, allocations: 6.217 MB / 0.5256 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005977/0.5688, allocations: 3.907 MB / 0.5294 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5688, allocations: 0 / 0.5294 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.5723, allocations: 2.48 MB / 0.5318 GB, free: 3.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/0.576, allocations: 0.7836 MB / 0.5326 GB, free: 2.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2456/0.8216, allocations: 29.61 MB / 0.5615 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.8243, allocations: 2.774 MB / 0.5642 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002085/0.8264, allocations: 0.6799 MB / 0.5649 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/0.828, allocations: 1.402 MB / 0.5663 GB, free: 144.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.828, allocations: 0 / 0.5663 GB, free: 144.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1756/1.004, allocations: 73.57 MB / 0.6381 GB, free: 83.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.85, allocations: 14.22 kB / 0.6381 GB, free: 83.56 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