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.001396/0.001396, allocations: 99.02 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.001661/0.001661, 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.414/1.414, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002125/0.002125, allocations: 51.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1033, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02513/0.1285, allocations: 23.71 MB / 351.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1412, allocations: 6.554 MB / 357.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.1453, allocations: 143.4 kB / 357.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.1506, allocations: 1.568 MB / 359.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.1596, allocations: 2.119 MB / 361.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.1644, allocations: 1.443 MB / 362.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.1755, allocations: 8.033 MB / 371 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.1869, allocations: 7.157 MB / 378.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1753/0.3622, allocations: 3.793 MB / 381.9 MB, free: 17.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007184/0.3694, allocations: 4.407 MB / 386.3 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003282/0.3727, allocations: 1.093 MB / 387.4 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.3773, allocations: 1.315 MB / 388.7 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003761/0.3811, allocations: 2.444 MB / 391.2 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008313/0.3894, allocations: 4.522 MB / 395.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4023, allocations: 14.07 MB / 409.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4024, allocations: 0 / 409.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4024, allocations: 0 / 409.8 MB, free: 8.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004155/0.4028, allocations: 0 / 409.8 MB, free: 8.812 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.02959/0.4324, allocations: 8.837 MB / 418.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4325, allocations: 10.19 kB / 418.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002991/0.4355, allocations: 0.9524 MB / 419.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/0.4447, allocations: 1.673 MB / 421.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00945/0.4542, allocations: 4.5 MB / 425.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/0.4548, allocations: 0.5244 MB / 426.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.4573, allocations: 0.6828 MB / 426.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.4859, allocations: 9.44 MB / 436.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004666/0.4864, allocations: 3.906 kB / 436.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002998/0.4894, allocations: 287.2 kB / 436.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004664/0.4899, allocations: 334.2 kB / 437 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.5174, allocations: 8.051 MB / 445 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06588/0.5833, allocations: 28.79 MB / 473.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/0.5999, allocations: 16.58 MB / 490.4 MB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005498/0.6054, allocations: 2.937 MB / 493.3 MB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/0.622, allocations: 7.724 MB / 0.4893 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.6221, allocations: 68.61 kB / 0.4894 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=259): time 4.409e-06/0.6221, allocations: 0 / 0.4894 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=265): time 0.02258/0.6446, allocations: 10.99 MB / 0.5001 GB, free: 5.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6447, allocations: 85.16 kB / 0.5002 GB, free: 5.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.6504, allocations: 3.381 MB / 0.5035 GB, free: 1.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.6507, allocations: 69.64 kB / 0.5036 GB, free: 1.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.6529, allocations: 3.037 MB / 0.5065 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008486/0.6538, allocations: 0.9161 MB / 0.5074 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.6549, allocations: 0.5934 MB / 0.508 GB, free: 13.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.655, allocations: 313.1 kB / 0.5083 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.6574, allocations: 1.389 MB / 0.5097 GB, free: 11.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/0.6607, allocations: 2.431 MB / 0.512 GB, free: 8.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/0.6668, allocations: 4.079 MB / 0.516 GB, free: 4.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-05/0.6669, allocations: 8 kB / 0.516 GB, free: 4.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008676/0.6755, allocations: 4.701 MB / 0.5206 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.6756, allocations: 27.22 kB / 0.5206 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.594e-05/0.6757, allocations: 32 kB / 0.5207 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6768, allocations: 397.1 kB / 0.5211 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.6798, allocations: 0.7923 MB / 0.5218 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.6873, allocations: 7.985 MB / 0.5296 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.6904, allocations: 155.8 kB / 0.5298 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.6909, allocations: 152 kB / 0.5299 GB, free: 5.691 MB / 446.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.004245/0.6951, allocations: 2.073 MB / 0.5319 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.6962, allocations: 363.5 kB / 0.5323 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.204/0.9002, allocations: 4.214 MB / 0.5364 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.9003, allocations: 26.56 kB / 0.5364 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.9003, allocations: 11 kB / 0.5364 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.185e-05/0.9004, allocations: 18.05 kB / 0.5365 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.9166, allocations: 9.871 MB / 0.5461 GB, free: 150.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.9166, allocations: 3.594 kB / 0.5461 GB, free: 150.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.9183, allocations: 401.7 kB / 0.5465 GB, free: 150.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.9203, allocations: 0.8693 MB / 0.5473 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.9205, allocations: 70 kB / 0.5474 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.9339, allocations: 17.51 MB / 0.5645 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.934, allocations: 3.875 kB / 0.5645 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008976/0.943, allocations: 6.034 MB / 0.5704 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/0.9452, allocations: 0.7448 MB / 0.5711 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/0.9462, allocations: 62.53 kB / 0.5712 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.9485, allocations: 139.6 kB / 0.5713 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/0.949, allocations: 199.7 kB / 0.5715 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.9492, allocations: 76.33 kB / 0.5716 GB, free: 133.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004355/0.9536, allocations: 2.304 MB / 0.5738 GB, free: 132.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9536, allocations: 0 / 0.5738 GB, free: 132.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004892/0.9585, allocations: 1.143 MB / 0.5749 GB, free: 132.4 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.009102/0.9676, allocations: 6.684 MB / 0.5815 GB, free: 129.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0119/0.9796, allocations: 5.739 MB / 0.5871 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.9796, allocations: 0 / 0.5871 GB, free: 123.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.9837, allocations: 2.856 MB / 0.5899 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/0.9898, allocations: 1.005 MB / 0.5909 GB, free: 120.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06957/1.059, allocations: 47.86 MB / 0.6376 GB, free: 67.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006046/1.066, allocations: 4.228 MB / 0.6417 GB, free: 63.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003435/1.069, allocations: 0.8326 MB / 0.6425 GB, free: 62.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/1.072, allocations: 2.538 MB / 0.645 GB, free: 60.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/1.072, allocations: 0 / 0.645 GB, free: 60.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3209/1.393, allocations: 100 MB / 0.7427 GB, free: 136.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.67, allocations: 11.41 kB / 0.7427 GB, free: 136.2 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","/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