Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 214.1 MB, free: 5.246 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 102.2 kB / 262.1 MB, free: 5.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.041e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08781, allocations: 47.58 MB / 362.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2855/0.3734, allocations: 107.3 MB / 469.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.3736, allocations: 78.14 kB / 469.9 MB, free: 1.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1907/0.5643, allocations: 78.24 MB / 0.5353 GB, free: 10.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.5646, allocations: 87.8 kB / 0.5354 GB, free: 10.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.00974/0.5744, allocations: 3.164 MB / 0.5385 GB, free: 7.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5744, allocations: 8.031 kB / 0.5385 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.5792, allocations: 0.7257 MB / 0.5392 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009238/0.5885, allocations: 3.296 MB / 0.5424 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.5887, allocations: 104 kB / 0.5425 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008155/0.5895, allocations: 187.9 kB / 0.5427 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007091/0.5966, allocations: 3.152 MB / 0.5458 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006955/0.6036, allocations: 3.648 MB / 0.5493 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.561e-05/0.6037, allocations: 7.844 kB / 0.5493 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/0.604, allocations: 4 kB / 0.5493 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.6041, allocations: 150.3 kB / 0.5495 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.6255, allocations: 12.71 MB / 0.5619 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.6272, allocations: 1.052 MB / 0.5629 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.6293, allocations: 1.329 MB / 0.5642 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00744/0.6367, allocations: 3.99 MB / 0.5681 GB, free: 8.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.6368, allocations: 47.88 kB / 0.5682 GB, free: 8.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 4.208e-06/0.6368, allocations: 0 / 0.5682 GB, free: 8.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=151): time 0.00913/0.646, allocations: 4.335 MB / 0.5724 GB, free: 3.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.646, allocations: 68.72 kB / 0.5725 GB, free: 3.598 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.6482, allocations: 1.22 MB / 0.5737 GB, free: 2.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.6484, allocations: 25.7 kB / 0.5737 GB, free: 2.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.649, allocations: 1.144 MB / 0.5748 GB, free: 1.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.6495, allocations: 0.4965 MB / 0.5753 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.6495, allocations: 0 / 0.5753 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6497, allocations: 381.9 kB / 0.5757 GB, free: 304 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1517/0.8015, allocations: 0.702 MB / 0.5763 GB, free: 139.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.8028, allocations: 1.168 MB / 0.5775 GB, free: 139.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.8044, allocations: 0.9716 MB / 0.5784 GB, free: 139.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.8044, allocations: 3.719 kB / 0.5784 GB, free: 139.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.003658/0.8081, allocations: 2.396 MB / 0.5808 GB, free: 139 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8081, allocations: 5.75 kB / 0.5808 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.8081, allocations: 15.38 kB / 0.5808 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.8087, allocations: 274.2 kB / 0.5811 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.8103, allocations: 409.4 kB / 0.5814 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.8142, allocations: 5.375 MB / 0.5867 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.8157, allocations: 45.92 kB / 0.5867 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.8158, allocations: 79.19 kB / 0.5868 GB, free: 135.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.8161, allocations: 155.8 kB / 0.587 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.8163, allocations: 172.2 kB / 0.5871 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.82, allocations: 2.275 MB / 0.5893 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.82, allocations: 15.12 kB / 0.5894 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.82, allocations: 11.31 kB / 0.5894 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.82, allocations: 7.266 kB / 0.5894 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.8283, allocations: 5.006 MB / 0.5943 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.8283, allocations: 7.344 kB / 0.5943 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.8293, allocations: 214.7 kB / 0.5945 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.8304, allocations: 440.3 kB / 0.5949 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.8305, allocations: 24.34 kB / 0.5949 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/0.8378, allocations: 9.47 MB / 0.6042 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8379, allocations: 6.156 kB / 0.6042 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004675/0.8426, allocations: 3.364 MB / 0.6075 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/0.8436, allocations: 426.2 kB / 0.6079 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.8438, allocations: 17.2 kB / 0.6079 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.8447, allocations: 51 kB / 0.6079 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.8449, allocations: 84.75 kB / 0.608 GB, free: 127 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.845, allocations: 41.44 kB / 0.6081 GB, free: 127 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001418/0.8464, allocations: 0.9164 MB / 0.6089 GB, free: 126.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002429/0.8489, allocations: 0.5178 MB / 0.6095 GB, free: 126.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005384/0.8494, allocations: 337.7 kB / 0.6098 GB, free: 126.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.8524, allocations: 2.145 MB / 0.6119 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.8525, allocations: 7.109 kB / 0.6119 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.8543, allocations: 1.458 MB / 0.6133 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8561, allocations: 338.5 kB / 0.6136 GB, free: 125.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.8654, allocations: 4.55 MB / 0.6181 GB, free: 124.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002369/0.8678, allocations: 2.467 MB / 0.6205 GB, free: 124.1 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.8678, allocations: 0 / 0.6205 GB, free: 124.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04491/0.9127, allocations: 26.24 MB / 0.6461 GB, free: 122.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches