Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [: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.001456/0.001456, allocations: 194.9 kB / 8.138 MB, free: 2.191 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.163/1.163, 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.001805/0.001805, allocations: 126.4 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.206e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07599/0.07602, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.304, allocations: 113.2 MB / 455.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.3042, allocations: 84.78 kB / 455.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5075/0.8117, allocations: 158.2 MB / 0.5992 GB, free: 57.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003272/0.8121, allocations: 95.94 kB / 0.5993 GB, free: 57.48 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01068/0.8228, allocations: 3.913 MB / 0.6031 GB, free: 54.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8228, allocations: 14.69 kB / 0.6031 GB, free: 54.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/0.829, allocations: 0.9386 MB / 0.604 GB, free: 54.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.8416, allocations: 3.806 MB / 0.6078 GB, free: 51.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.8419, allocations: 133.7 kB / 0.6079 GB, free: 51.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.8439, allocations: 240.5 kB / 0.6081 GB, free: 51.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01224/0.8561, allocations: 3.834 MB / 0.6119 GB, free: 49.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.8712, allocations: 4.466 MB / 0.6162 GB, free: 45.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.8714, allocations: 11.91 kB / 0.6162 GB, free: 45.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009247/0.8723, allocations: 7.984 kB / 0.6162 GB, free: 45.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.8725, allocations: 168 kB / 0.6164 GB, free: 44.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.8998, allocations: 16.24 MB / 0.6323 GB, free: 28.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.9019, allocations: 1.292 MB / 0.6335 GB, free: 27.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.9042, allocations: 1.673 MB / 0.6352 GB, free: 25.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008073/0.9123, allocations: 5.15 MB / 0.6402 GB, free: 20.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.9124, allocations: 64.55 kB / 0.6403 GB, free: 20.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=190): time 4.398e-06/0.9124, allocations: 0 / 0.6403 GB, free: 20.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.009395/0.9218, allocations: 5.192 MB / 0.6453 GB, free: 14.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.9219, allocations: 73.41 kB / 0.6454 GB, free: 14.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/0.9248, allocations: 1.663 MB / 0.647 GB, free: 12.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.9249, allocations: 25.7 kB / 0.647 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.9255, allocations: 1.469 MB / 0.6485 GB, free: 11.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.9259, allocations: 0.6351 MB / 0.6491 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9261, allocations: 0 / 0.6491 GB, free: 10.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9262, allocations: 394.8 kB / 0.6495 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.9275, allocations: 0.8954 MB / 0.6503 GB, free: 9.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.929, allocations: 1.577 MB / 0.6519 GB, free: 7.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.931, allocations: 1.224 MB / 0.6531 GB, free: 6.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.931, allocations: 8 kB / 0.6531 GB, free: 6.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004598/0.9356, allocations: 2.88 MB / 0.6559 GB, free: 3.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9356, allocations: 5.094 kB / 0.6559 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.9357, allocations: 24 kB / 0.6559 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.936, allocations: 126.1 kB / 0.6561 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.9383, allocations: 0.5929 MB / 0.6566 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.9396, allocations: 1.735 MB / 0.6583 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.9415, allocations: 72.02 kB / 0.6584 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.9417, allocations: 104 kB / 0.6585 GB, free: 0.6992 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 296 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.9421, allocations: 175.4 kB / 0.6587 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.9426, allocations: 233.1 kB / 0.6589 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1137/1.056, allocations: 2.634 MB / 0.6615 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.056, allocations: 22.03 kB / 0.6615 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.056, allocations: 6.594 kB / 0.6615 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.056, allocations: 11.06 kB / 0.6615 GB, free: 96.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008571/1.065, allocations: 5.901 MB / 0.6673 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/1.065, allocations: 0 / 0.6673 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.067, allocations: 349.4 kB / 0.6676 GB, free: 95.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/1.068, allocations: 325.9 kB / 0.6679 GB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.068, allocations: 14.91 kB / 0.6679 GB, free: 95.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/1.072, allocations: 5.991 MB / 0.6738 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.072, allocations: 3.094 kB / 0.6738 GB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005072/1.078, allocations: 4.062 MB / 0.6777 GB, free: 91.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.079, allocations: 0.5133 MB / 0.6782 GB, free: 91.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/1.079, allocations: 9.969 kB / 0.6782 GB, free: 91.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.08, allocations: 65 kB / 0.6783 GB, free: 91.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.08, allocations: 111.5 kB / 0.6784 GB, free: 91.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.081, allocations: 54.86 kB / 0.6785 GB, free: 91.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001592/1.082, allocations: 1.23 MB / 0.6797 GB, free: 91.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00202/1.084, allocations: 0.6345 MB / 0.6803 GB, free: 91.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004655/1.085, allocations: 386 kB / 0.6807 GB, free: 90.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002838/1.088, allocations: 2.393 MB / 0.683 GB, free: 90.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.088, allocations: 0 / 0.683 GB, free: 90.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.089, allocations: 1.475 MB / 0.6844 GB, free: 90.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.091, allocations: 408.5 kB / 0.6848 GB, free: 90.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/1.101, allocations: 5.686 MB / 0.6904 GB, free: 89.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.104, allocations: 2.914 MB / 0.6932 GB, free: 88.41 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/1.104, allocations: 0 / 0.6932 GB, free: 88.41 MB / 394.7 MB Notification: Performance of Templates: time 0.04909/1.153, allocations: 31.04 MB / 0.7235 GB, free: 86.64 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)