Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",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.001175/0.001176, allocations: 105.2 kB / 17.72 MB, free: 5.242 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.001332/0.001332, allocations: 187 kB / 18.66 MB, free: 4.312 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.388/1.388, 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.001222/0.001222, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07323/0.07446, allocations: 46.63 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.242/0.3165, allocations: 23.71 MB / 398.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.3335, allocations: 6.544 MB / 404.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006704/0.3402, allocations: 144.6 kB / 405.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006646/0.347, allocations: 1.566 MB / 406.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.3586, allocations: 2.118 MB / 408.8 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00636/0.365, allocations: 1.454 MB / 410.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0155/0.3805, allocations: 8.074 MB / 418.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01438/0.3949, allocations: 7.164 MB / 425.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008174/0.4032, allocations: 3.836 MB / 429.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008758/0.412, allocations: 4.425 MB / 433.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003662/0.4156, allocations: 1.094 MB / 434.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005579/0.4212, allocations: 1.297 MB / 436.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004932/0.4262, allocations: 2.443 MB / 438.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01194/0.4382, allocations: 4.516 MB / 443.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02162/0.4598, allocations: 14.18 MB / 457.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4599, allocations: 0 / 457.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4599, allocations: 4 kB / 457.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005183/0.4604, allocations: 0 / 457.2 MB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03021/0.4906, allocations: 8.836 MB / 466.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4907, allocations: 11.97 kB / 466.1 MB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003041/0.4938, allocations: 0.955 MB / 467 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009514/0.5033, allocations: 1.659 MB / 468.7 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.5143, allocations: 4.553 MB / 473.3 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/0.5149, allocations: 0.5143 MB / 473.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.5172, allocations: 0.6872 MB / 474.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.5423, allocations: 9.431 MB / 483.9 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003819/0.5428, allocations: 7.906 kB / 483.9 MB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/0.5449, allocations: 284 kB / 484.2 MB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003478/0.5452, allocations: 334.2 kB / 484.5 MB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.5641, allocations: 8.051 MB / 492.6 MB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05993/0.6241, allocations: 28.41 MB / 0.5088 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/0.6422, allocations: 16.6 MB / 0.525 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/0.6477, allocations: 2.916 MB / 0.5278 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.6638, allocations: 7.686 MB / 0.5353 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.6639, allocations: 64.55 kB / 0.5354 GB, free: 15.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=259): time 5.851e-06/0.6639, allocations: 0 / 0.5354 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.02417/0.6881, allocations: 10.99 MB / 0.5461 GB, free: 3.906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6882, allocations: 77.5 kB / 0.5462 GB, free: 3.816 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006379/0.6946, allocations: 3.373 MB / 0.5495 GB, free: 460 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003775/0.695, allocations: 69.7 kB / 0.5496 GB, free: 384 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1908/0.8858, allocations: 3.037 MB / 0.5525 GB, free: 145.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008426/0.8867, allocations: 0.9131 MB / 0.5534 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008988/0.8876, allocations: 0.5909 MB / 0.554 GB, free: 144.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.8876, allocations: 305.9 kB / 0.5543 GB, free: 144 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.8905, allocations: 1.394 MB / 0.5556 GB, free: 143.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/0.8934, allocations: 2.428 MB / 0.558 GB, free: 141.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.899, allocations: 4.078 MB / 0.562 GB, free: 139 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.8991, allocations: 9.344 kB / 0.562 GB, free: 139 MB / 478.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008591/0.9077, allocations: 4.697 MB / 0.5666 GB, free: 136.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.9077, allocations: 20.09 kB / 0.5666 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-05/0.9078, allocations: 31.5 kB / 0.5666 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.9088, allocations: 404.5 kB / 0.567 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/0.9119, allocations: 0.79 MB / 0.5678 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.9184, allocations: 7.976 MB / 0.5756 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.9218, allocations: 154.5 kB / 0.5757 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/0.9223, allocations: 153.6 kB / 0.5759 GB, free: 129.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (411): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00369/0.926, allocations: 2.077 MB / 0.5779 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007324/0.9267, allocations: 367.6 kB / 0.5783 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/0.9333, allocations: 4.216 MB / 0.5824 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.9334, allocations: 24.59 kB / 0.5824 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.9334, allocations: 16.38 kB / 0.5824 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.9334, allocations: 14.86 kB / 0.5824 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.9469, allocations: 9.879 MB / 0.5921 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.947, allocations: 3.969 kB / 0.5921 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.9486, allocations: 399.7 kB / 0.5925 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.9504, allocations: 0.8594 MB / 0.5933 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.9505, allocations: 69.88 kB / 0.5934 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.9627, allocations: 17.5 MB / 0.6105 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9628, allocations: 4 kB / 0.6105 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007961/0.9707, allocations: 6.026 MB / 0.6163 GB, free: 99.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.9724, allocations: 0.7502 MB / 0.6171 GB, free: 99.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/0.9728, allocations: 60 kB / 0.6171 GB, free: 99.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.9743, allocations: 131.9 kB / 0.6173 GB, free: 98.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004047/0.9748, allocations: 209.6 kB / 0.6175 GB, free: 98.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.9749, allocations: 75.98 kB / 0.6175 GB, free: 98.63 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002916/0.9778, allocations: 2.29 MB / 0.6198 GB, free: 96.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9778, allocations: 0 / 0.6198 GB, free: 96.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004201/0.982, allocations: 1.151 MB / 0.6209 GB, free: 95.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * 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 (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007677/0.9897, allocations: 6.695 MB / 0.6274 GB, free: 88.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005134/0.9949, allocations: 4.135 MB / 0.6315 GB, free: 84.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.9949, allocations: 0 / 0.6315 GB, free: 84.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.9982, allocations: 2.852 MB / 0.6343 GB, free: 81.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.002, allocations: 1.003 MB / 0.6352 GB, free: 80.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04887/1.051, allocations: 39.07 MB / 0.6734 GB, free: 39.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003085/1.054, allocations: 4.232 MB / 0.6775 GB, free: 35.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002343/1.056, allocations: 0.8326 MB / 0.6783 GB, free: 34.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.059, allocations: 2.538 MB / 0.6808 GB, free: 32.09 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/1.059, allocations: 0 / 0.6808 GB, free: 32.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3998/1.458, allocations: 99.76 MB / 0.7782 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/18.63, allocations: 8.062 kB / 0.7782 GB, free: 153.9 MB / 0.4981 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches