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.001229/0.001229, allocations: 100.3 kB / 17.58 MB, free: 5.418 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.001221/0.001221, allocations: 192 kB / 18.51 MB, free: 4.508 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.403/1.403, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001491/0.001491, allocations: 51.92 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02223/0.1398, allocations: 12.81 MB / 340.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.1528, allocations: 4.242 MB / 344.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.1559, allocations: 67.69 kB / 344.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.16, allocations: 0.9626 MB / 345.5 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.1664, allocations: 1.176 MB / 346.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.169, allocations: 0.5227 MB / 347.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008863/0.1779, allocations: 4.669 MB / 351.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008679/0.1866, allocations: 3.602 MB / 355.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.1923, allocations: 2.109 MB / 357.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.1982, allocations: 2.557 MB / 360.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002141/0.2003, allocations: 0.5547 MB / 360.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.2033, allocations: 0.6444 MB / 361.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.2064, allocations: 1.515 MB / 362.8 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004737/0.2111, allocations: 2.485 MB / 365.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009819/0.221, allocations: 7.349 MB / 372.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.221, allocations: 4 kB / 372.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.221, allocations: 0 / 372.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.2212, allocations: 0 / 372.7 MB, free: 6.879 MB / 318.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.01391/0.2351, allocations: 4.683 MB / 377.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.2352, allocations: 12.02 kB / 377.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007635/0.2359, allocations: 0.502 MB / 377.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.2374, allocations: 0.4956 MB / 378.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1719/0.4093, allocations: 2.377 MB / 380.7 MB, free: 48.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.4095, allocations: 263.6 kB / 381 MB, free: 48.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.4103, allocations: 357.5 kB / 381.3 MB, free: 48.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/0.4189, allocations: 5.023 MB / 386.4 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.511e-05/0.419, allocations: 8.438 kB / 386.4 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.4193, allocations: 139 kB / 386.5 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.4195, allocations: 185.1 kB / 386.7 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.4263, allocations: 4.296 MB / 391 MB, free: 44.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.445, allocations: 14.9 MB / 405.9 MB, free: 34.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.4484, allocations: 4.202 MB / 410.1 MB, free: 29.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.451, allocations: 1.996 MB / 412.1 MB, free: 27.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.4512, allocations: 130.8 kB / 412.2 MB, free: 27.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4513, allocations: 56.56 kB / 412.3 MB, free: 27.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.978e-06/0.4513, allocations: 4 kB / 412.3 MB, free: 27.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=218): time 0.01674/0.468, allocations: 10.01 MB / 422.3 MB, free: 17.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4681, allocations: 73.41 kB / 422.3 MB, free: 17.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003131/0.4712, allocations: 2.506 MB / 424.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.4714, allocations: 65.7 kB / 424.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.4721, allocations: 1.626 MB / 426.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.4725, allocations: 0.7223 MB / 427.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/0.4731, allocations: 420.2 kB / 427.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.4731, allocations: 304 kB / 428 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.4747, allocations: 1.308 MB / 429.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.4764, allocations: 1.782 MB / 431.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.4798, allocations: 3.22 MB / 434.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.4798, allocations: 7.188 kB / 434.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005643/0.4855, allocations: 4.072 MB / 438.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4855, allocations: 11.94 kB / 438.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.4855, allocations: 16 kB / 438.4 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.488, allocations: 0.8771 MB / 439.3 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.4902, allocations: 0.5343 MB / 439.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.5009, allocations: 9.49 MB / 449.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.5032, allocations: 119.8 kB / 449.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.5034, allocations: 91.98 kB / 449.5 MB, free: 5.469 MB / 334.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.002124/0.5055, allocations: 1.215 MB / 450.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005689/0.5061, allocations: 272.7 kB / 451 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/0.5125, allocations: 3.718 MB / 454.7 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.5126, allocations: 24 kB / 454.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.5126, allocations: 8 kB / 454.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.5126, allocations: 15.95 kB / 454.7 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.5268, allocations: 8.08 MB / 462.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.5268, allocations: 4 kB / 462.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.5285, allocations: 383.8 kB / 463.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.5317, allocations: 0.9368 MB / 464.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/0.5319, allocations: 51.97 kB / 464.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.544, allocations: 11.06 MB / 475.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5441, allocations: 7.938 kB / 475.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009558/0.5536, allocations: 5.516 MB / 480.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/0.5555, allocations: 0.6305 MB / 481.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008603/0.5564, allocations: 47.98 kB / 481.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.5582, allocations: 119.8 kB / 481.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.5587, allocations: 181.7 kB / 481.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.5589, allocations: 63.98 kB / 481.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003395/0.5623, allocations: 1.731 MB / 483.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5623, allocations: 0 / 483.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003242/0.5655, allocations: 0.7955 MB / 484.3 MB, free: 1.867 MB / 366.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.01462/0.5802, allocations: 6.2 MB / 490.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01693/0.5971, allocations: 5.706 MB / 496.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.5972, allocations: 8.062 kB / 496.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006079/0.6033, allocations: 2.483 MB / 498.7 MB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006725/0.61, allocations: 0.7759 MB / 499.5 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08413/0.6942, allocations: 34.17 MB / 0.5212 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00548/0.6997, allocations: 2.769 MB / 0.5239 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003097/0.7028, allocations: 0.6827 MB / 0.5245 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/0.7053, allocations: 1.409 MB / 0.5259 GB, free: 8.57 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7053, allocations: 0 / 0.5259 GB, free: 8.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/1.006, allocations: 74.73 MB / 0.5989 GB, free: 99.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.31, allocations: 1.516 kB / 0.5989 GB, free: 99.91 MB / 430.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