Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") [: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.2+maint.om/package.mo): time 0.001868/0.001868, allocations: 197.3 kB / 8.142 MB, free: 2.098 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.156/1.156, allocations: 194.2 MB / 202.8 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001855/0.001856, allocations: 114.2 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.201e-06/6.221e-06, allocations: 0 / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07794, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.3172, allocations: 110.5 MB / 452.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.3174, allocations: 85.27 kB / 452.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.5473/0.8647, allocations: 166.9 MB / 0.6051 GB, free: 35.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008476/0.8656, allocations: 173.8 kB / 0.6052 GB, free: 35.02 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: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02502/0.8906, allocations: 6.688 MB / 0.6118 GB, free: 30.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8907, allocations: 6.969 kB / 0.6118 GB, free: 30.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.9016, allocations: 1.61 MB / 0.6133 GB, free: 30 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/0.9202, allocations: 5.934 MB / 0.6191 GB, free: 26.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005688/0.9208, allocations: 232.4 kB / 0.6193 GB, free: 26.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/0.9241, allocations: 433.9 kB / 0.6198 GB, free: 26.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01803/0.9421, allocations: 7.212 MB / 0.6268 GB, free: 22.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02565/0.9678, allocations: 8.386 MB / 0.635 GB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000426/0.9683, allocations: 11.84 kB / 0.635 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002523/0.9708, allocations: 4 kB / 0.635 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.9712, allocations: 350.6 kB / 0.6353 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0622/1.033, allocations: 29.34 MB / 0.664 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1593/1.193, allocations: 2.32 MB / 0.6663 GB, free: 90.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/1.198, allocations: 3.176 MB / 0.6694 GB, free: 90.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01539/1.213, allocations: 8.697 MB / 0.6779 GB, free: 89.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/1.213, allocations: 72.94 kB / 0.6779 GB, free: 89.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=349): time 6.291e-06/1.213, allocations: 0 / 0.6779 GB, free: 89.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=357): time 0.0202/1.233, allocations: 9.451 MB / 0.6872 GB, free: 88.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.233, allocations: 87.5 kB / 0.6872 GB, free: 88.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/1.238, allocations: 2.539 MB / 0.6897 GB, free: 87.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/1.238, allocations: 25.7 kB / 0.6897 GB, free: 87.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.239, allocations: 2.562 MB / 0.6922 GB, free: 86.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008601/1.24, allocations: 1.161 MB / 0.6934 GB, free: 85.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.24, allocations: 3.406 kB / 0.6934 GB, free: 85.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/1.24, allocations: 477.6 kB / 0.6938 GB, free: 85.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/1.243, allocations: 1.627 MB / 0.6954 GB, free: 85.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/1.245, allocations: 2.759 MB / 0.6981 GB, free: 84.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/1.249, allocations: 2.253 MB / 0.7003 GB, free: 83.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/1.249, allocations: 10.75 kB / 0.7003 GB, free: 83.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.00917/1.258, allocations: 5.222 MB / 0.7054 GB, free: 83.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.258, allocations: 4.344 kB / 0.7054 GB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/1.258, allocations: 39 kB / 0.7055 GB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009334/1.259, allocations: 398.9 kB / 0.7059 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/1.263, allocations: 0.9687 MB / 0.7068 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/1.269, allocations: 6.98 MB / 0.7136 GB, free: 78.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.273, allocations: 91.56 kB / 0.7137 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009438/1.274, allocations: 183 kB / 0.7139 GB, free: 78.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (517): * Single equations (assignments): 511 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001531/1.276, allocations: 225.8 kB / 0.7141 GB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.277, allocations: 376.2 kB / 0.7145 GB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.288, allocations: 4.863 MB / 0.7192 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.289, allocations: 33.34 kB / 0.7192 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-05/1.289, allocations: 14.22 kB / 0.7193 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/1.289, allocations: 17.16 kB / 0.7193 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.313, allocations: 11.02 MB / 0.73 GB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.313, allocations: 3.938 kB / 0.73 GB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.316, allocations: 0.5373 MB / 0.7306 GB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/1.318, allocations: 0.8765 MB / 0.7314 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004424/1.319, allocations: 40.91 kB / 0.7315 GB, free: 75.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.333, allocations: 15.32 MB / 0.7464 GB, free: 63.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.333, allocations: 4.656 kB / 0.7464 GB, free: 63.37 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/1.346, allocations: 7.576 MB / 0.7538 GB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/1.349, allocations: 0.8378 MB / 0.7546 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.35, allocations: 19.31 kB / 0.7547 GB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.353, allocations: 98.66 kB / 0.7548 GB, free: 59.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/1.353, allocations: 189.9 kB / 0.7549 GB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003395/1.354, allocations: 100.4 kB / 0.755 GB, free: 58.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003881/1.358, allocations: 1.874 MB / 0.7569 GB, free: 58.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006564/1.364, allocations: 1.154 MB / 0.758 GB, free: 58.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 279 * 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%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/1.365, allocations: 0.4909 MB / 0.7585 GB, free: 58.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008081/1.373, allocations: 4.633 MB / 0.763 GB, free: 55.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.374, allocations: 4.812 kB / 0.763 GB, free: 55.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005605/1.379, allocations: 2.963 MB / 0.7659 GB, free: 54.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.385, allocations: 0.7263 MB / 0.7666 GB, free: 54.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/1.415, allocations: 10.56 MB / 0.7769 GB, free: 49.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009016/1.424, allocations: 4.732 MB / 0.7815 GB, free: 48.38 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/1.424, allocations: 0 / 0.7815 GB, free: 48.38 MB / 410.7 MB Notification: Performance of Templates: time 0.1021/1.526, allocations: 57.01 MB / 0.8372 GB, free: 11.61 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)