Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0009409/0.000941, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007029/0.0007028, allocations: 86.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 12 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 47.57 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase): time 0.01707/0.2712, allocations: 22.34 MB / 397.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2819, allocations: 6.645 MB / 404.2 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.2848, allocations: 139.4 kB / 404.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.2875, allocations: 1.223 MB / 405.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.2924, allocations: 1.88 MB / 407.4 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.2948, allocations: 1.008 MB / 408.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008184/0.303, allocations: 8.528 MB / 417 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005383/0.3084, allocations: 6 MB / 423 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.3117, allocations: 2.72 MB / 425.7 MB, free: 14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.3154, allocations: 3.544 MB / 429.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007108/0.3161, allocations: 468 kB / 429.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.3176, allocations: 0.6599 MB / 430.3 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.3189, allocations: 1.697 MB / 432 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.3226, allocations: 3.7 MB / 435.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.333, allocations: 12.07 MB / 447.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.333, allocations: 4 kB / 447.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3331, allocations: 0 / 447.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003407/0.3334, allocations: 0 / 447.8 MB, free: 7.789 MB / 330.7 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.01856/0.352, allocations: 7.731 MB / 455.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.352, allocations: 8.031 kB / 455.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002271/0.3543, allocations: 0.9959 MB / 456.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.3628, allocations: 1.74 MB / 458.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008458/0.3713, allocations: 4.622 MB / 462.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/0.3717, allocations: 0.5458 MB / 463.5 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.3729, allocations: 0.7068 MB / 464.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.389, allocations: 9.73 MB / 473.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.3892, allocations: 19.83 kB / 473.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006135/0.3898, allocations: 296 kB / 474.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002944/0.3901, allocations: 354.6 kB / 474.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.404, allocations: 8.264 MB / 482.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3294/0.7334, allocations: 30.64 MB / 0.5014 GB, free: 84.81 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.7514, allocations: 16.08 MB / 0.5171 GB, free: 72.29 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/0.7575, allocations: 3.074 MB / 0.5201 GB, free: 71.16 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/0.772, allocations: 8.106 MB / 0.528 GB, free: 65.95 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.7721, allocations: 71 kB / 0.5281 GB, free: 65.88 MB / 378.8 MB Notification: Performance of pre-optimization done (n=281): time 5.781e-06/0.7721, allocations: 0 / 0.5281 GB, free: 65.88 MB / 378.8 MB Notification: Performance of matching and sorting (n=289): time 0.02039/0.7925, allocations: 11.67 MB / 0.5395 GB, free: 58.94 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.7926, allocations: 82.78 kB / 0.5396 GB, free: 58.87 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004379/0.797, allocations: 3.62 MB / 0.5431 GB, free: 55.98 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.7972, allocations: 73.7 kB / 0.5432 GB, free: 55.9 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.7985, allocations: 3.181 MB / 0.5463 GB, free: 52.7 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/0.7991, allocations: 0.9906 MB / 0.5473 GB, free: 51.71 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.7993, allocations: 79.94 kB / 0.5473 GB, free: 51.63 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7994, allocations: 449.9 kB / 0.5478 GB, free: 51.19 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.8014, allocations: 1.487 MB / 0.5492 GB, free: 49.7 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/0.8036, allocations: 2.623 MB / 0.5518 GB, free: 46.58 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004476/0.8081, allocations: 4.396 MB / 0.5561 GB, free: 41.66 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.8081, allocations: 12 kB / 0.5561 GB, free: 41.64 MB / 378.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.006585/0.8147, allocations: 5.025 MB / 0.561 GB, free: 36.54 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.8148, allocations: 20.09 kB / 0.561 GB, free: 36.52 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.8148, allocations: 40 kB / 0.561 GB, free: 36.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.8156, allocations: 405.4 kB / 0.5614 GB, free: 36.07 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.8184, allocations: 0.8659 MB / 0.5623 GB, free: 35.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.8228, allocations: 7.349 MB / 0.5695 GB, free: 27.33 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.8255, allocations: 179.8 kB / 0.5696 GB, free: 27.15 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.8257, allocations: 167.9 kB / 0.5698 GB, free: 26.99 MB / 378.8 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 (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002894/0.8286, allocations: 2.136 MB / 0.5719 GB, free: 24.84 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.8291, allocations: 403.1 kB / 0.5723 GB, free: 24.44 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/0.8352, allocations: 4.474 MB / 0.5766 GB, free: 19.86 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.8352, allocations: 28 kB / 0.5766 GB, free: 19.83 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8353, allocations: 12 kB / 0.5767 GB, free: 19.82 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.8353, allocations: 19.94 kB / 0.5767 GB, free: 19.8 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.848, allocations: 10.49 MB / 0.5869 GB, free: 9.156 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.848, allocations: 4 kB / 0.5869 GB, free: 9.152 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.8497, allocations: 455.9 kB / 0.5874 GB, free: 8.707 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.8515, allocations: 0.8681 MB / 0.5882 GB, free: 7.82 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.8517, allocations: 71.98 kB / 0.5883 GB, free: 7.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.8658, allocations: 16.19 MB / 0.6041 GB, free: 6.637 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.8658, allocations: 8.109 kB / 0.6041 GB, free: 6.629 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009967/0.8758, allocations: 6.444 MB / 0.6104 GB, free: 15.97 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/0.8777, allocations: 0.8046 MB / 0.6112 GB, free: 15.15 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004694/0.8782, allocations: 71.88 kB / 0.6112 GB, free: 15.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.8799, allocations: 155.9 kB / 0.6114 GB, free: 14.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00062/0.8806, allocations: 217.8 kB / 0.6116 GB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/0.8808, allocations: 87.97 kB / 0.6117 GB, free: 14.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00361/0.8844, allocations: 2.438 MB / 0.6141 GB, free: 12.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8844, allocations: 0 / 0.6141 GB, free: 12.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003397/0.8878, allocations: 1.214 MB / 0.6153 GB, free: 11 MB / 410.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009696/0.8975, allocations: 7.114 MB / 0.6222 GB, free: 3.664 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006284/0.9038, allocations: 4.365 MB / 0.6265 GB, free: 15.19 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9038, allocations: 0 / 0.6265 GB, free: 15.19 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.908, allocations: 2.999 MB / 0.6294 GB, free: 12.1 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/0.9144, allocations: 1.056 MB / 0.6304 GB, free: 11.05 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2144/1.129, allocations: 38.05 MB / 0.6676 GB, free: 146.9 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/1.133, allocations: 4.234 MB / 0.6717 GB, free: 145.4 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/1.136, allocations: 2.765 MB / 0.6744 GB, free: 143.1 MB / 442.8 MB Notification: Performance of SimCode: time 1.142e-06/1.136, allocations: 0 / 0.6744 GB, free: 143.1 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.789/10.93, allocations: 342.2 MB / 1.009 GB, free: 146.8 MB / 458.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches