Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",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.001221/0.001221, allocations: 204.5 kB / 8.543 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.098/1.098, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008688, allocations: 96.64 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08654/0.08743, allocations: 56.92 MB / 343.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.1652, allocations: 51.47 MB / 394.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.3953, allocations: 130.8 MB / 0.5132 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.3956, allocations: 91.02 kB / 0.5133 GB, free: 11.23 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: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.4549/0.8505, allocations: 159.3 MB / 0.6689 GB, free: 65.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.8506, allocations: 9.125 kB / 0.6689 GB, free: 65.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.8557, allocations: 1.287 MB / 0.6701 GB, free: 64.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.8666, allocations: 6.315 MB / 0.6763 GB, free: 60.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.8668, allocations: 223.5 kB / 0.6765 GB, free: 60.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007711/0.8676, allocations: 406.3 kB / 0.6769 GB, free: 60.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01026/0.8779, allocations: 7.163 MB / 0.6839 GB, free: 57.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.8887, allocations: 8.285 MB / 0.692 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.8889, allocations: 15.84 kB / 0.692 GB, free: 49.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005504/0.8894, allocations: 15.91 kB / 0.692 GB, free: 49.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.8896, allocations: 301.4 kB / 0.6923 GB, free: 48.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.9228, allocations: 28.52 MB / 0.7201 GB, free: 19.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.9254, allocations: 2.469 MB / 0.7226 GB, free: 17.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.9293, allocations: 3.387 MB / 0.7259 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009454/0.9387, allocations: 7.226 MB / 0.7329 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9388, allocations: 81.2 kB / 0.733 GB, free: 6.555 MB / 442.7 MB Notification: Performance of pre-optimization done (n=351): time 4.187e-06/0.9388, allocations: 0 / 0.733 GB, free: 6.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1356/1.074, allocations: 11.85 MB / 0.7446 GB, free: 95.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/1.074, allocations: 97.94 kB / 0.7447 GB, free: 95.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/1.078, allocations: 2.844 MB / 0.7474 GB, free: 95.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/1.078, allocations: 29.55 kB / 0.7475 GB, free: 95.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000759/1.079, allocations: 2.363 MB / 0.7498 GB, free: 94.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000628/1.079, allocations: 1.187 MB / 0.7509 GB, free: 93.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.08, allocations: 5.922 kB / 0.7509 GB, free: 93.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/1.08, allocations: 471.4 kB / 0.7514 GB, free: 93.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.082, allocations: 1.967 MB / 0.7533 GB, free: 93.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.085, allocations: 2.863 MB / 0.7561 GB, free: 92.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/1.088, allocations: 2.481 MB / 0.7585 GB, free: 92.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.088, allocations: 8.656 kB / 0.7585 GB, free: 92.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.008571/1.096, allocations: 6.429 MB / 0.7648 GB, free: 91.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.096, allocations: 5.438 kB / 0.7648 GB, free: 91.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.096, allocations: 26.94 kB / 0.7648 GB, free: 91.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.099, allocations: 1.244 MB / 0.7661 GB, free: 91.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/1.102, allocations: 0.8723 MB / 0.7669 GB, free: 91.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.115, allocations: 19.5 MB / 0.786 GB, free: 78.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.118, allocations: 102.2 kB / 0.7861 GB, free: 78.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/1.118, allocations: 168.8 kB / 0.7862 GB, free: 78.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 447 * 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: 11 * 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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.000576/1.118, allocations: 203.1 kB / 0.7864 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/1.119, allocations: 425 kB / 0.7868 GB, free: 77.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008697/1.128, allocations: 6.267 MB / 0.7929 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.128, allocations: 33.66 kB / 0.793 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.128, allocations: 18 kB / 0.793 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.128, allocations: 19.41 kB / 0.793 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.144, allocations: 12.4 MB / 0.8051 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.144, allocations: 3.844 kB / 0.8051 GB, free: 74.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.147, allocations: 0.5213 MB / 0.8056 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/1.15, allocations: 1.591 MB / 0.8072 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.15, allocations: 28.62 kB / 0.8072 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/1.169, allocations: 28.41 MB / 0.8349 GB, free: 50.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.169, allocations: 3.969 kB / 0.8349 GB, free: 50.95 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01108/1.18, allocations: 9.529 MB / 0.8443 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01491/1.195, allocations: 12.98 MB / 0.8569 GB, free: 40.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.197, allocations: 0.9248 MB / 0.8578 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006443/1.198, allocations: 18.55 kB / 0.8578 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.2, allocations: 139.4 kB / 0.858 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000409/1.2, allocations: 215.1 kB / 0.8582 GB, free: 39.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.2, allocations: 102.3 kB / 0.8583 GB, free: 39.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002764/1.203, allocations: 2.124 MB / 0.8604 GB, free: 39.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004503/1.208, allocations: 1.276 MB / 0.8616 GB, free: 39.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 260 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007572/1.208, allocations: 0.4889 MB / 0.8621 GB, free: 38.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006863/1.215, allocations: 6.307 MB / 0.8682 GB, free: 35.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.215, allocations: 2.594 kB / 0.8682 GB, free: 35.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004999/1.22, allocations: 4.566 MB / 0.8727 GB, free: 33.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.224, allocations: 0.9186 MB / 0.8736 GB, free: 32.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.243, allocations: 11.29 MB / 0.8846 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004605/1.247, allocations: 4.922 MB / 0.8894 GB, free: 22.51 MB / 442.7 MB Notification: Performance of SimCode: time 6.02e-07/1.247, allocations: 0 / 0.8894 GB, free: 22.51 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)