Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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 3.2.3+maint.om/package.mo): time 0.0009029/0.000903, allocations: 183.7 kB / 8.478 MB, free: 1.789 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.987/0.987, allocations: 205.2 MB / 214.1 MB, free: 13.86 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.0008601/0.0008601, allocations: 91.66 kB / 262.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08324/0.08413, allocations: 53 MB / 315.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.2479, allocations: 47.56 MB / 362.6 MB, free: 45.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0967/0.3446, allocations: 103.2 MB / 465.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3449, allocations: 87.95 kB / 465.9 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.1101/0.455, allocations: 42.71 MB / 0.4967 GB, free: 3.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4551, allocations: 12 kB / 0.4967 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.4559, allocations: 269 kB / 0.4969 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.4584, allocations: 1.384 MB / 0.4983 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.4585, allocations: 60 kB / 0.4984 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.4588, allocations: 119.9 kB / 0.4985 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/0.4616, allocations: 1.765 MB / 0.5002 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.095/0.5567, allocations: 2.129 MB / 0.5023 GB, free: 138.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-05/0.5568, allocations: 6.375 kB / 0.5023 GB, free: 138.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.557, allocations: 3.5 kB / 0.5023 GB, free: 138.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.5571, allocations: 85.33 kB / 0.5024 GB, free: 138.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009429/0.5665, allocations: 7.496 MB / 0.5097 GB, free: 136.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009416/0.5675, allocations: 0.8293 MB / 0.5105 GB, free: 136.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.5686, allocations: 0.9071 MB / 0.5114 GB, free: 136.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.5689, allocations: 131.3 kB / 0.5115 GB, free: 136.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5689, allocations: 46.22 kB / 0.5115 GB, free: 136.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 2.665e-06/0.5689, allocations: 0 / 0.5115 GB, free: 136.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.006467/0.5754, allocations: 4.244 MB / 0.5157 GB, free: 135.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.5754, allocations: 63.69 kB / 0.5158 GB, free: 135.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.5763, allocations: 0.9007 MB / 0.5166 GB, free: 135.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.5764, allocations: 25.7 kB / 0.5167 GB, free: 135.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.5767, allocations: 0.7174 MB / 0.5174 GB, free: 135 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.5769, allocations: 426.5 kB / 0.5178 GB, free: 134.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.5769, allocations: 0 / 0.5178 GB, free: 134.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.577, allocations: 360 kB / 0.5181 GB, free: 134.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.5778, allocations: 0.6377 MB / 0.5187 GB, free: 134.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.5786, allocations: 0.9476 MB / 0.5197 GB, free: 134.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.5795, allocations: 0.8029 MB / 0.5204 GB, free: 134.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5795, allocations: 3.812 kB / 0.5204 GB, free: 134.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002948/0.5825, allocations: 2.16 MB / 0.5226 GB, free: 133.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5825, allocations: 3.75 kB / 0.5226 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5825, allocations: 10.53 kB / 0.5226 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/0.5835, allocations: 499.3 kB / 0.523 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5847, allocations: 321.5 kB / 0.5233 GB, free: 133.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.5893, allocations: 6.147 MB / 0.5294 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.5902, allocations: 39.45 kB / 0.5294 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.5903, allocations: 57.58 kB / 0.5294 GB, free: 129.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.5905, allocations: 135.9 kB / 0.5296 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.5907, allocations: 135.6 kB / 0.5297 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.5935, allocations: 2.002 MB / 0.5317 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5935, allocations: 20.92 kB / 0.5317 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5935, allocations: 3.969 kB / 0.5317 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5935, allocations: 6.688 kB / 0.5317 GB, free: 128.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.5989, allocations: 3.981 MB / 0.5356 GB, free: 127 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.599, allocations: 3.656 kB / 0.5356 GB, free: 127 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.6, allocations: 221.7 kB / 0.5358 GB, free: 127 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.6012, allocations: 0.5438 MB / 0.5363 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.6013, allocations: 18.77 kB / 0.5363 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/0.6067, allocations: 7.617 MB / 0.5438 GB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6067, allocations: 3.844 kB / 0.5438 GB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003618/0.6103, allocations: 3.098 MB / 0.5468 GB, free: 119.4 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005068/0.6154, allocations: 4.456 MB / 0.5512 GB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.616, allocations: 355.8 kB / 0.5515 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.6162, allocations: 12.72 kB / 0.5515 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.617, allocations: 50.69 kB / 0.5516 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6172, allocations: 69.64 kB / 0.5516 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/0.6173, allocations: 37.95 kB / 0.5517 GB, free: 117 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000857/0.6182, allocations: 0.6804 MB / 0.5523 GB, free: 116.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00194/0.6201, allocations: 422.8 kB / 0.5527 GB, free: 116.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004265/0.6205, allocations: 272.5 kB / 0.553 GB, free: 116.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.6233, allocations: 2.169 MB / 0.5551 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.6233, allocations: 0.9062 kB / 0.5551 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.625, allocations: 1.427 MB / 0.5565 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6263, allocations: 291.6 kB / 0.5568 GB, free: 114.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.6314, allocations: 3.46 MB / 0.5602 GB, free: 111.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.6328, allocations: 1.817 MB / 0.5619 GB, free: 110.1 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6328, allocations: 0 / 0.5619 GB, free: 110.1 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)