Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_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.001442/0.001442, allocations: 113.4 kB / 17.73 MB, free: 5.32 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.00173/0.00173, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.35/1.35, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001245/0.001245, allocations: 47.94 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09638, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.2063/0.3027, allocations: 25.35 MB / 400 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.3242, allocations: 7.074 MB / 407.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008105/0.3323, allocations: 149.9 kB / 407.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007938/0.3404, allocations: 1.712 MB / 408.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.3524, allocations: 2.271 MB / 411.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.3586, allocations: 1.523 MB / 412.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.3745, allocations: 8.526 MB / 421.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.3894, allocations: 7.283 MB / 428.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009126/0.3986, allocations: 4.003 MB / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009121/0.4078, allocations: 4.612 MB / 437.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003332/0.4111, allocations: 1.133 MB / 438.3 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.4159, allocations: 1.347 MB / 439.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003526/0.4195, allocations: 2.521 MB / 442.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00835/0.4278, allocations: 4.719 MB / 446.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01839/0.4463, allocations: 14.71 MB / 461.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.4463, allocations: 4 kB / 461.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4463, allocations: 3.938 kB / 461.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004597/0.4468, allocations: 0 / 461.6 MB, free: 8.789 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02768/0.4745, allocations: 9.224 MB / 470.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4745, allocations: 12.03 kB / 470.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00236/0.4769, allocations: 0.9921 MB / 471.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.4867, allocations: 1.732 MB / 473.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.4975, allocations: 4.746 MB / 478.3 MB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/0.498, allocations: 0.5343 MB / 478.8 MB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.5002, allocations: 0.7108 MB / 479.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.5202, allocations: 9.773 MB / 489.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.5204, allocations: 7.906 kB / 489.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008792/0.5213, allocations: 300 kB / 489.6 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003108/0.5216, allocations: 358.6 kB / 490 MB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.5388, allocations: 8.283 MB / 498.3 MB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/0.5903, allocations: 30.08 MB / 0.5159 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/0.6062, allocations: 16.08 MB / 0.5317 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/0.6112, allocations: 3.015 MB / 0.5346 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/0.6248, allocations: 8.054 MB / 0.5425 GB, free: 7.961 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.6249, allocations: 64.78 kB / 0.5425 GB, free: 7.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.048e-06/0.6249, allocations: 0 / 0.5425 GB, free: 7.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=289): time 0.3364/0.9613, allocations: 11.57 MB / 0.5538 GB, free: 144.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.9614, allocations: 86.5 kB / 0.5539 GB, free: 144.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/0.9671, allocations: 3.643 MB / 0.5575 GB, free: 143 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.9674, allocations: 72.36 kB / 0.5575 GB, free: 143 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.9693, allocations: 3.183 MB / 0.5606 GB, free: 140.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/0.9701, allocations: 0.994 MB / 0.5616 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009397/0.9711, allocations: 0.6459 MB / 0.5622 GB, free: 139.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.9711, allocations: 302.7 kB / 0.5625 GB, free: 139.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.9735, allocations: 1.477 MB / 0.564 GB, free: 138.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.9763, allocations: 2.63 MB / 0.5665 GB, free: 136.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005272/0.9815, allocations: 4.388 MB / 0.5708 GB, free: 133.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-05/0.9816, allocations: 10.34 kB / 0.5708 GB, free: 133.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008668/0.9903, allocations: 5.02 MB / 0.5757 GB, free: 131.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.9903, allocations: 22.52 kB / 0.5758 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.1e-05/0.9904, allocations: 36.38 kB / 0.5758 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/0.9914, allocations: 397.1 kB / 0.5762 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.9946, allocations: 0.8677 MB / 0.577 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.9997, allocations: 7.971 MB / 0.5848 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/1.003, allocations: 168.4 kB / 0.585 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/1.003, allocations: 170.8 kB / 0.5851 GB, free: 124.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (451): * Single equations (assignments): 445 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003391/1.007, allocations: 2.137 MB / 0.5872 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009582/1.008, allocations: 394.4 kB / 0.5876 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/1.014, allocations: 4.464 MB / 0.592 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.014, allocations: 29.38 kB / 0.592 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.014, allocations: 10.97 kB / 0.592 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/1.014, allocations: 15.14 kB / 0.592 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.029, allocations: 10.47 MB / 0.6022 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.029, allocations: 4 kB / 0.6022 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.03, allocations: 449.5 kB / 0.6027 GB, free: 115.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.032, allocations: 0.8747 MB / 0.6035 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.032, allocations: 79.97 kB / 0.6036 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.045, allocations: 17.62 MB / 0.6208 GB, free: 95.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.045, allocations: 13.36 kB / 0.6208 GB, free: 95.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/1.054, allocations: 6.427 MB / 0.6271 GB, free: 89.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.056, allocations: 0.7968 MB / 0.6279 GB, free: 88.22 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008469/1.057, allocations: 67.62 kB / 0.6279 GB, free: 88.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.059, allocations: 147.9 kB / 0.6281 GB, free: 88.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/1.059, allocations: 217.8 kB / 0.6283 GB, free: 87.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.059, allocations: 83.97 kB / 0.6284 GB, free: 87.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003109/1.062, allocations: 2.473 MB / 0.6308 GB, free: 85.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.102e-06/1.062, allocations: 0 / 0.6308 GB, free: 85.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004558/1.067, allocations: 1.218 MB / 0.632 GB, free: 84.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 (220): * Single equations (assignments): 213 * 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,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008383/1.075, allocations: 7.097 MB / 0.6389 GB, free: 76.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005818/1.081, allocations: 4.373 MB / 0.6432 GB, free: 72.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.081, allocations: 64 / 0.6432 GB, free: 72.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.085, allocations: 2.986 MB / 0.6461 GB, free: 69.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/1.091, allocations: 1.112 MB / 0.6472 GB, free: 68.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05535/1.146, allocations: 41.56 MB / 0.6878 GB, free: 25.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/1.149, allocations: 4.343 MB / 0.692 GB, free: 20.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002697/1.152, allocations: 0.8903 MB / 0.6929 GB, free: 19.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/1.155, allocations: 2.733 MB / 0.6955 GB, free: 17.08 MB / 478.1 MB Notification: Performance of SimCode: time 6.62e-07/1.155, allocations: 4 kB / 0.6955 GB, free: 17.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3641/1.519, allocations: 107 MB / 0.8 GB, free: 135.3 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/19.22, allocations: 8.141 kB / 0.8 GB, free: 135.3 MB / 0.4982 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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/SMPM_Inverter_MultiPhase/SMPM_Inverter_MultiPhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches