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.0007835/0.0007874, allocations: 97.64 kB / 17.3 MB, free: 6.344 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.0008382/0.0008383, allocations: 178.5 kB / 18.21 MB, free: 5.531 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.357/1.357, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004543/0.0004543, allocations: 8.516 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08442, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.0228/0.1073, allocations: 22.4 MB / 351.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.1226, allocations: 6.41 MB / 357.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00537/0.1281, allocations: 135.4 kB / 358 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005497/0.1336, allocations: 1.336 MB / 359.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008418/0.1421, allocations: 1.9 MB / 361.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.147, allocations: 1.31 MB / 362.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.1593, allocations: 8.527 MB / 371.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.1702, allocations: 5.898 MB / 377 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.1763, allocations: 2.626 MB / 379.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2324/0.4087, allocations: 3.515 MB / 383.1 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.4105, allocations: 449.3 kB / 383.6 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.413, allocations: 0.6496 MB / 384.2 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.4148, allocations: 1.654 MB / 385.9 MB, free: 17.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0065/0.4213, allocations: 3.677 MB / 389.5 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.4361, allocations: 13.26 MB / 402.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4361, allocations: 0 / 402.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4361, allocations: 0 / 402.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005699/0.4367, allocations: 0 / 402.8 MB, free: 11.27 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02111/0.4578, allocations: 7.411 MB / 410.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4579, allocations: 8.5 kB / 410.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003004/0.4609, allocations: 0.9534 MB / 411.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008883/0.4698, allocations: 1.677 MB / 412.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008998/0.4788, allocations: 4.412 MB / 417.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.4793, allocations: 0.5263 MB / 417.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.4812, allocations: 0.6788 MB / 418.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.5011, allocations: 9.458 MB / 427.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.5014, allocations: 11.38 kB / 427.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008655/0.5022, allocations: 282.1 kB / 428.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/0.5025, allocations: 334.2 kB / 428.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.5212, allocations: 8.085 MB / 436.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/0.5815, allocations: 28.94 MB / 465.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.5992, allocations: 16.6 MB / 482.2 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005987/0.6052, allocations: 2.964 MB / 485.1 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.6224, allocations: 7.76 MB / 492.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.6225, allocations: 60.61 kB / 493 MB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=259): time 8.606e-06/0.6225, allocations: 3.984 kB / 493 MB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=265): time 0.02554/0.648, allocations: 11.11 MB / 0.4923 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.6481, allocations: 81.5 kB / 0.4923 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007633/0.6558, allocations: 3.369 MB / 0.4956 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003298/0.6561, allocations: 77.64 kB / 0.4957 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/0.6586, allocations: 3.037 MB / 0.4987 GB, free: 8.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.6597, allocations: 0.9153 MB / 0.4996 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005583/0.6602, allocations: 268.9 kB / 0.4998 GB, free: 7.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.6603, allocations: 305.1 kB / 0.5001 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.6631, allocations: 1.416 MB / 0.5015 GB, free: 5.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.6667, allocations: 2.443 MB / 0.5039 GB, free: 2.449 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/0.673, allocations: 4.119 MB / 0.5079 GB, free: 13.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.6731, allocations: 8 kB / 0.5079 GB, free: 13.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009337/0.6824, allocations: 4.723 MB / 0.5125 GB, free: 9.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.6825, allocations: 25.28 kB / 0.5125 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.893e-05/0.6825, allocations: 32 kB / 0.5126 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.6836, allocations: 406.8 kB / 0.513 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.6865, allocations: 0.7986 MB / 0.5137 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/0.6933, allocations: 7.344 MB / 0.5209 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.6968, allocations: 163.7 kB / 0.5211 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004813/0.6973, allocations: 148.1 kB / 0.5212 GB, free: 20 kB / 430.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.005257/0.7026, allocations: 2.072 MB / 0.5232 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.7037, allocations: 371.5 kB / 0.5236 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008566/0.7123, allocations: 4.257 MB / 0.5277 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.7124, allocations: 24 kB / 0.5278 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/0.7124, allocations: 24.05 kB / 0.5278 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.7125, allocations: 11.95 kB / 0.5278 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2575/0.9699, allocations: 9.894 MB / 0.5375 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.97, allocations: 2.75 kB / 0.5375 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.9723, allocations: 409.6 kB / 0.5379 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.9749, allocations: 0.8577 MB / 0.5387 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/0.9754, allocations: 77.8 kB / 0.5388 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.9899, allocations: 16.08 MB / 0.5545 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.9899, allocations: 7.625 kB / 0.5545 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009202/0.9992, allocations: 6.073 MB / 0.5604 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.001, allocations: 0.7451 MB / 0.5611 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/1.002, allocations: 65.52 kB / 0.5612 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.003, allocations: 147.1 kB / 0.5613 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/1.004, allocations: 205.3 kB / 0.5615 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.004, allocations: 81.81 kB / 0.5616 GB, free: 139.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003421/1.008, allocations: 2.292 MB / 0.5638 GB, free: 138.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.008, allocations: 0 / 0.5638 GB, free: 138.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003959/1.012, allocations: 1.145 MB / 0.565 GB, free: 138.8 MB / 446.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.008732/1.02, allocations: 6.737 MB / 0.5715 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006234/1.027, allocations: 4.144 MB / 0.5756 GB, free: 133.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.027, allocations: 0.9375 kB / 0.5756 GB, free: 133.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004084/1.031, allocations: 2.871 MB / 0.5784 GB, free: 131.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/1.037, allocations: 0.9533 MB / 0.5793 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0838/1.121, allocations: 50.92 MB / 0.6291 GB, free: 76.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003942/1.125, allocations: 4.228 MB / 0.6332 GB, free: 72.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003123/1.128, allocations: 0.8358 MB / 0.634 GB, free: 71.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/1.131, allocations: 2.534 MB / 0.6365 GB, free: 69.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/1.131, allocations: 0 / 0.6365 GB, free: 69.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3055/1.437, allocations: 96.48 MB / 0.7307 GB, free: 144.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.437, allocations: 267 kB / 0.7309 GB, free: 143.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.007/5.444, allocations: 3.938 kB / 0.7309 GB, free: 143.9 MB / 446.1 MB (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","../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