Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001066/0.001066, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.912e-05, allocations: 0 / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09168, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5493, allocations: 114.6 MB / 483.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5496, allocations: 88.77 kB / 483.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/1.667, allocations: 220.4 MB / 0.6877 GB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.667, allocations: 4 kB / 0.6877 GB, free: 8.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001202/1.668, allocations: 243.8 kB / 0.6879 GB, free: 8.305 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.6564/2.325, allocations: 9.561 MB / 0.6973 GB, free: 25.2 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/2.325, allocations: 13.48 kB / 0.6973 GB, free: 25.2 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/2.342, allocations: 2.127 MB / 0.6993 GB, free: 24.63 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03433/2.377, allocations: 8.908 MB / 0.708 GB, free: 23.97 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/2.378, allocations: 0.7415 MB / 0.7088 GB, free: 23.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004967/2.383, allocations: 0.9903 MB / 0.7097 GB, free: 23.94 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04964/2.433, allocations: 13.79 MB / 0.7232 GB, free: 22.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005855/2.433, allocations: 13.44 kB / 0.7232 GB, free: 22.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003843/2.437, allocations: 436 kB / 0.7236 GB, free: 22.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005831/2.438, allocations: 448.8 kB / 0.7241 GB, free: 22.77 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03665/2.474, allocations: 11.44 MB / 0.7352 GB, free: 22.68 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1159/2.59, allocations: 44.14 MB / 0.7783 GB, free: 7.684 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03745/2.628, allocations: 24.52 MB / 0.8023 GB, free: 2.395 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01307/2.641, allocations: 4.918 MB / 0.8071 GB, free: 0.5781 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04018/2.681, allocations: 12.08 MB / 0.8189 GB, free: 10.78 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.468e-05/2.681, allocations: 82.73 kB / 0.819 GB, free: 10.71 MB / 458.8 MB Notification: Performance of pre-optimization done (n=419): time 7.724e-06/2.681, allocations: 0 / 0.819 GB, free: 10.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=425): time 0.04275/2.724, allocations: 13.85 MB / 0.8325 GB, free: 4.082 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/2.724, allocations: 96.28 kB / 0.8326 GB, free: 4.016 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/2.738, allocations: 4.682 MB / 0.8371 GB, free: 2.301 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/2.739, allocations: 95.64 kB / 0.8372 GB, free: 2.215 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004493/2.744, allocations: 4.089 MB / 0.8412 GB, free: 14.97 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002485/2.746, allocations: 1.419 MB / 0.8426 GB, free: 13.88 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000712/2.747, allocations: 93.59 kB / 0.8427 GB, free: 13.8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004506/2.747, allocations: 0.4904 MB / 0.8432 GB, free: 13.41 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006757/2.754, allocations: 2.267 MB / 0.8454 GB, free: 11.53 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008404/2.763, allocations: 3.406 MB / 0.8487 GB, free: 7.965 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/2.771, allocations: 2.811 MB / 0.8515 GB, free: 5.625 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.458e-05/2.771, allocations: 12 kB / 0.8515 GB, free: 5.613 MB / 474.8 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02325/2.794, allocations: 7.448 MB / 0.8588 GB, free: 15.31 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/2.794, allocations: 20.62 kB / 0.8588 GB, free: 15.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.388e-05/2.794, allocations: 34.97 kB / 0.8588 GB, free: 15.26 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006353/2.801, allocations: 1.484 MB / 0.8603 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008377/2.809, allocations: 0.9806 MB / 0.8612 GB, free: 13.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3787/3.188, allocations: 26.67 MB / 0.8873 GB, free: 75.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007139/3.195, allocations: 239 kB / 0.8875 GB, free: 75.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/3.197, allocations: 195.8 kB / 0.8877 GB, free: 75.17 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 510 * 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: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001673/3.198, allocations: 398.7 kB / 0.8881 GB, free: 75.06 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/3.2, allocations: 0.5779 MB / 0.8886 GB, free: 75.05 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02257/3.223, allocations: 7.668 MB / 0.8961 GB, free: 74.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/3.223, allocations: 44.31 kB / 0.8961 GB, free: 74.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-05/3.223, allocations: 30.61 kB / 0.8962 GB, free: 74.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/3.223, allocations: 23.62 kB / 0.8962 GB, free: 74.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04919/3.272, allocations: 16.35 MB / 0.9122 GB, free: 73.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.759e-05/3.273, allocations: 3.844 kB / 0.9122 GB, free: 73.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004307/3.277, allocations: 455.4 kB / 0.9126 GB, free: 73.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009183/3.286, allocations: 2.257 MB / 0.9148 GB, free: 72.95 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009965/3.287, allocations: 95.2 kB / 0.9149 GB, free: 72.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05209/3.339, allocations: 34.47 MB / 0.9486 GB, free: 56.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/3.339, allocations: 3.25 kB / 0.9486 GB, free: 56.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02859/3.368, allocations: 11.44 MB / 0.9597 GB, free: 54.53 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004901/3.373, allocations: 1.202 MB / 0.9609 GB, free: 54.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002295/3.375, allocations: 89.19 kB / 0.961 GB, free: 54.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006576/3.382, allocations: 258.2 kB / 0.9612 GB, free: 54.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002078/3.384, allocations: 439.7 kB / 0.9617 GB, free: 54.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007244/3.385, allocations: 111.7 kB / 0.9618 GB, free: 54.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009594/3.394, allocations: 3.578 MB / 0.9653 GB, free: 52.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.653e-06/3.394, allocations: 0 / 0.9653 GB, free: 52.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01063/3.405, allocations: 1.909 MB / 0.9671 GB, free: 52.77 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 228 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/3.407, allocations: 0.6611 MB / 0.9678 GB, free: 52.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0174/3.425, allocations: 7.644 MB / 0.9752 GB, free: 48.63 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/3.425, allocations: 2.031 kB / 0.9752 GB, free: 48.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01373/3.438, allocations: 5.567 MB / 0.9807 GB, free: 45.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01215/3.451, allocations: 1.599 MB / 0.9822 GB, free: 45.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0464/3.497, allocations: 15.24 MB / 0.9971 GB, free: 39.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/3.51, allocations: 6.389 MB / 1.003 GB, free: 37.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/3.513, allocations: 372.2 kB / 1.004 GB, free: 37.02 MB / 490.8 MB Notification: Performance of SimCode: time 1.903e-06/3.513, allocations: 2.625 kB / 1.004 GB, free: 37.02 MB / 490.8 MB Notification: Performance of Templates: time 3.023/6.536, allocations: 0.8249 GB / 1.829 GB, free: 123 MB / 0.5262 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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/AIMS_Start_MultiPhase/AIMS_Start_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches