Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001023/0.001023, allocations: 203.3 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.093/1.093, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008606/0.0008607, allocations: 97.89 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0865/0.08738, allocations: 56.93 MB / 343.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07568/0.1631, allocations: 51.47 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.3817, allocations: 115.2 MB / 0.4979 GB, free: 10.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.382, allocations: 101.1 kB / 0.498 GB, free: 10.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.8695/1.251, allocations: 322.9 MB / 0.8133 GB, free: 16.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/1.251, allocations: 11.02 kB / 0.8134 GB, free: 16.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/1.269, allocations: 3.296 MB / 0.8166 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/1.29, allocations: 11.14 MB / 0.8275 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004993/1.29, allocations: 433.2 kB / 0.8279 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/1.293, allocations: 0.7831 MB / 0.8286 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02609/1.319, allocations: 15.2 MB / 0.8435 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/1.346, allocations: 16.74 MB / 0.8598 GB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002503/1.346, allocations: 14.19 kB / 0.8598 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.347, allocations: 6 kB / 0.8599 GB, free: 6.484 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003819/1.348, allocations: 0.6265 MB / 0.8605 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/1.684, allocations: 58 MB / 0.9171 GB, free: 83.73 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/1.69, allocations: 4.91 MB / 0.9219 GB, free: 83.71 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008659/1.699, allocations: 7.468 MB / 0.9292 GB, free: 83.62 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0274/1.726, allocations: 20.55 MB / 0.9493 GB, free: 81.55 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/1.726, allocations: 113 kB / 0.9494 GB, free: 81.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=710): time 9.658e-06/1.726, allocations: 5.734 kB / 0.9494 GB, free: 81.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=829): time 0.04732/1.774, allocations: 27.72 MB / 0.9764 GB, free: 79.25 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.774, allocations: 140 kB / 0.9766 GB, free: 79.18 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/1.78, allocations: 4.528 MB / 0.981 GB, free: 78.83 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005206/1.78, allocations: 28.14 kB / 0.981 GB, free: 78.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.782, allocations: 4.479 MB / 0.9854 GB, free: 75.85 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001507/1.784, allocations: 2.656 MB / 0.988 GB, free: 73.74 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/1.784, allocations: 2.188 kB / 0.988 GB, free: 73.74 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003143/1.784, allocations: 0.6483 MB / 0.9886 GB, free: 73.28 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.789, allocations: 4.358 MB / 0.9929 GB, free: 71.4 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/1.795, allocations: 6.139 MB / 0.9989 GB, free: 67.46 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.803, allocations: 5.775 MB / 1.005 GB, free: 65.12 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/1.803, allocations: 11.88 kB / 1.005 GB, free: 65.12 MB / 474.8 MB Notification: Performance of matching and sorting (n=1109) (initialization): time 0.02094/1.824, allocations: 14 MB / 1.018 GB, free: 59.92 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.824, allocations: 5.625 kB / 1.018 GB, free: 59.92 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.35e-05/1.824, allocations: 52.22 kB / 1.018 GB, free: 59.92 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006935/1.831, allocations: 3.111 MB / 1.021 GB, free: 58.95 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00607/1.837, allocations: 1.547 MB / 1.023 GB, free: 58.89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03776/1.875, allocations: 42.09 MB / 1.064 GB, free: 29.06 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.88, allocations: 146.1 kB / 1.064 GB, free: 29.05 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009623/1.881, allocations: 335.4 kB / 1.064 GB, free: 28.98 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 848 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 15 {(8,76.6%) 52,(7,87.8%) 57,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001268/1.883, allocations: 301.8 kB / 1.065 GB, free: 28.82 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.884, allocations: 0.682 MB / 1.065 GB, free: 28.47 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/1.903, allocations: 12.94 MB / 1.078 GB, free: 18.63 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/1.903, allocations: 80 kB / 1.078 GB, free: 18.55 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.067e-05/1.903, allocations: 42.08 kB / 1.078 GB, free: 18.52 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-05/1.904, allocations: 40.64 kB / 1.078 GB, free: 18.52 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/2.095, allocations: 29.47 MB / 1.107 GB, free: 71.11 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/2.095, allocations: 10.66 kB / 1.107 GB, free: 71.11 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004986/2.1, allocations: 1.043 MB / 1.108 GB, free: 71.11 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/2.107, allocations: 3.163 MB / 1.111 GB, free: 71.02 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007085/2.107, allocations: 76.22 kB / 1.111 GB, free: 71.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04145/2.149, allocations: 38.38 MB / 1.149 GB, free: 58.68 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.149, allocations: 10.28 kB / 1.149 GB, free: 58.68 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02498/2.174, allocations: 20.03 MB / 1.168 GB, free: 57.06 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03129/2.205, allocations: 27.28 MB / 1.195 GB, free: 49.48 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004062/2.209, allocations: 1.846 MB / 1.197 GB, free: 48.34 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/2.211, allocations: 42.12 kB / 1.197 GB, free: 48.33 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/2.214, allocations: 209.8 kB / 1.197 GB, free: 48.33 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/2.215, allocations: 445.9 kB / 1.197 GB, free: 48.26 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005181/2.215, allocations: 217 kB / 1.197 GB, free: 48.21 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.004206/2.219, allocations: 3.37 MB / 1.201 GB, free: 46.86 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007676/2.227, allocations: 2.44 MB / 1.203 GB, free: 46.79 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.is[2],aimc0.is[3],aimc0.is[4],aimc0.is[5],aimc0.inertiaRotor.w,aimc0.stator.core.Phi.im,aimc0.airGap.Phi_ss.re,quadraticLoadTorque0.phi,aimcH.is[2],aimcH.is[3],aimcH.is[4],aimcH.is[5],aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.Phi.re,aimcH.stator.core.Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (566): * Single equations (assignments): 556 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(8,79.7%) 51,(1,100.0%) 1,(3,100.0%) 22,(8,85.9%) 55,(1,100.0%) 1,(3,100.0%) 22,(6,75.0%) 51,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009443/2.228, allocations: 0.5395 MB / 1.204 GB, free: 46.66 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01702/2.245, allocations: 13.27 MB / 1.217 GB, free: 40.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.245, allocations: 3.938 kB / 1.217 GB, free: 40.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01034/2.256, allocations: 7.632 MB / 1.224 GB, free: 37.02 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005719/2.261, allocations: 1.185 MB / 1.225 GB, free: 36.73 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/2.299, allocations: 22.99 MB / 1.248 GB, free: 26.23 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/2.309, allocations: 9.027 MB / 1.256 GB, free: 19.42 MB / 474.8 MB Notification: Performance of SimCode: time 1.854e-06/2.309, allocations: 0 / 1.256 GB, free: 19.42 MB / 474.8 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)