Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",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.00105/0.00105, allocations: 193.6 kB / 8.536 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.12/1.12, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009234/0.0009234, allocations: 91.48 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09604/0.097, allocations: 56.91 MB / 343.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.1807, allocations: 51.47 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.417, allocations: 115.1 MB / 0.4979 GB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4172, allocations: 86.83 kB / 0.498 GB, free: 10.46 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.3623/0.7795, allocations: 88.24 MB / 0.5842 GB, free: 83.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7796, allocations: 10.75 kB / 0.5842 GB, free: 83.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.7818, allocations: 491.3 kB / 0.5846 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.7858, allocations: 1.97 MB / 0.5866 GB, free: 82.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.7859, allocations: 90.47 kB / 0.5866 GB, free: 82.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.7865, allocations: 160.6 kB / 0.5868 GB, free: 82.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004369/0.7909, allocations: 2.583 MB / 0.5893 GB, free: 82.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/0.7956, allocations: 3.057 MB / 0.5923 GB, free: 81.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.048e-05/0.7957, allocations: 9.562 kB / 0.5923 GB, free: 81.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.7959, allocations: 3.375 kB / 0.5923 GB, free: 81.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.796, allocations: 117.7 kB / 0.5924 GB, free: 81.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.8111, allocations: 10.77 MB / 0.6029 GB, free: 79.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.8125, allocations: 1.027 MB / 0.6039 GB, free: 79.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.8137, allocations: 1.086 MB / 0.605 GB, free: 79.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.8141, allocations: 224.8 kB / 0.6052 GB, free: 78.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.8141, allocations: 45.62 kB / 0.6053 GB, free: 78.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=136): time 3.626e-06/0.8141, allocations: 3.344 kB / 0.6053 GB, free: 78.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=160): time 0.009747/0.8238, allocations: 5.807 MB / 0.6109 GB, free: 78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.8239, allocations: 69.16 kB / 0.611 GB, free: 77.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.8259, allocations: 1.475 MB / 0.6124 GB, free: 77.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.8261, allocations: 25.7 kB / 0.6125 GB, free: 77.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.8264, allocations: 1.027 MB / 0.6135 GB, free: 77.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.8268, allocations: 0.5213 MB / 0.614 GB, free: 76.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.8269, allocations: 3.422 kB / 0.614 GB, free: 76.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.827, allocations: 381.5 kB / 0.6144 GB, free: 76.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.828, allocations: 0.8754 MB / 0.6152 GB, free: 76.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.8293, allocations: 1.329 MB / 0.6165 GB, free: 75.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.8306, allocations: 1.105 MB / 0.6176 GB, free: 75.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.8306, allocations: 11.44 kB / 0.6176 GB, free: 75.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004204/0.8348, allocations: 2.897 MB / 0.6204 GB, free: 74.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8349, allocations: 5.656 kB / 0.6204 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.8349, allocations: 13.53 kB / 0.6204 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.8364, allocations: 0.6252 MB / 0.6211 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.8381, allocations: 437.5 kB / 0.6215 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/0.844, allocations: 5.144 MB / 0.6265 GB, free: 71.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.8457, allocations: 84.89 kB / 0.6266 GB, free: 71.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.8458, allocations: 73.28 kB / 0.6266 GB, free: 71.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.8461, allocations: 157.5 kB / 0.6268 GB, free: 71.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.8465, allocations: 199.1 kB / 0.627 GB, free: 71.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.8505, allocations: 2.643 MB / 0.6296 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.8506, allocations: 15.81 kB / 0.6296 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.8506, allocations: 7.844 kB / 0.6296 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.8506, allocations: 11.45 kB / 0.6296 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/0.8594, allocations: 5.36 MB / 0.6348 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.8595, allocations: 6.562 kB / 0.6348 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.8608, allocations: 288.1 kB / 0.6351 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.8627, allocations: 0.6729 MB / 0.6358 GB, free: 68.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.8629, allocations: 18.38 kB / 0.6358 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.8705, allocations: 6.75 MB / 0.6424 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.8706, allocations: 2.75 kB / 0.6424 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006048/0.8766, allocations: 4.143 MB / 0.6464 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007321/0.884, allocations: 5.868 MB / 0.6522 GB, free: 59.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.8851, allocations: 489.7 kB / 0.6526 GB, free: 59.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.8855, allocations: 13 kB / 0.6526 GB, free: 59.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.8867, allocations: 79.73 kB / 0.6527 GB, free: 59.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.887, allocations: 109.5 kB / 0.6528 GB, free: 59.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8871, allocations: 42.38 kB / 0.6529 GB, free: 59.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001473/0.8886, allocations: 1.107 MB / 0.6539 GB, free: 58.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002598/0.8912, allocations: 0.5844 MB / 0.6545 GB, free: 58.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005409/0.8917, allocations: 331.8 kB / 0.6548 GB, free: 58.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.8953, allocations: 2.563 MB / 0.6573 GB, free: 57.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8953, allocations: 3.594 kB / 0.6573 GB, free: 57.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.8976, allocations: 1.555 MB / 0.6589 GB, free: 56.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.8995, allocations: 345.6 kB / 0.6592 GB, free: 56.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008261/0.9078, allocations: 4.657 MB / 0.6637 GB, free: 54.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/0.9099, allocations: 2.345 MB / 0.666 GB, free: 53.82 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.9099, allocations: 4 kB / 0.666 GB, free: 53.82 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1)