Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",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.001165/0.001165, allocations: 195.2 kB / 8.536 MB, free: 1.742 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008946/0.0008947, allocations: 95.52 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09542/0.09634, allocations: 56.9 MB / 343.2 MB, free: 8.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.1792, allocations: 51.47 MB / 394.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.4021, allocations: 86.84 MB / 481.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.4023, allocations: 81.95 kB / 481.6 MB, free: 6.301 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.07375/0.4761, allocations: 34.02 MB / 0.5036 GB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.4761, allocations: 8 kB / 0.5036 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.4769, allocations: 301.1 kB / 0.5039 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.4788, allocations: 1.258 MB / 0.5051 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.4789, allocations: 72 kB / 0.5052 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.4791, allocations: 136 kB / 0.5053 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002788/0.4819, allocations: 1.801 MB / 0.507 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.4854, allocations: 2.396 MB / 0.5094 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.4855, allocations: 0 / 0.5094 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.4857, allocations: 3.906 kB / 0.5094 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.4857, allocations: 56 kB / 0.5094 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.4957, allocations: 7.325 MB / 0.5166 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.4965, allocations: 0.6381 MB / 0.5172 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009155/0.4974, allocations: 0.6754 MB / 0.5179 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.4975, allocations: 8.5 kB / 0.5179 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4975, allocations: 43.05 kB / 0.5179 GB, free: 10.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.405e-06/0.4975, allocations: 3.938 kB / 0.5179 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.002976/0.5005, allocations: 2.02 MB / 0.5199 GB, free: 8.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.5005, allocations: 56.06 kB / 0.52 GB, free: 8.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.5013, allocations: 0.6558 MB / 0.5206 GB, free: 7.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.5013, allocations: 33.7 kB / 0.5206 GB, free: 7.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5017, allocations: 0.82 MB / 0.5214 GB, free: 6.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.5019, allocations: 216.8 kB / 0.5216 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.5019, allocations: 3.938 kB / 0.5216 GB, free: 6.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.502, allocations: 390.8 kB / 0.522 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.5025, allocations: 349.6 kB / 0.5223 GB, free: 6.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.5031, allocations: 0.5572 MB / 0.5229 GB, free: 5.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.5037, allocations: 450.9 kB / 0.5233 GB, free: 4.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5037, allocations: 3.906 kB / 0.5233 GB, free: 4.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001494/0.5052, allocations: 1.047 MB / 0.5243 GB, free: 3.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5052, allocations: 12 kB / 0.5244 GB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.5052, allocations: 8 kB / 0.5244 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.5055, allocations: 88.75 kB / 0.5245 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.5062, allocations: 175.8 kB / 0.5246 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.5078, allocations: 1.829 MB / 0.5264 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.5083, allocations: 23.98 kB / 0.5264 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.5083, allocations: 35.98 kB / 0.5265 GB, free: 1.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5085, allocations: 128.7 kB / 0.5266 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5086, allocations: 79.06 kB / 0.5267 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.51, allocations: 0.8558 MB / 0.5275 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.51, allocations: 11.98 kB / 0.5275 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.51, allocations: 4 kB / 0.5275 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.51, allocations: 0 / 0.5275 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.5135, allocations: 2.321 MB / 0.5298 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.5135, allocations: 8.047 kB / 0.5298 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.5141, allocations: 119.8 kB / 0.5299 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.5143, allocations: 73.12 kB / 0.53 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.5143, allocations: 15.92 kB / 0.53 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.516, allocations: 1.794 MB / 0.5317 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.516, allocations: 4 kB / 0.5317 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001736/0.5177, allocations: 1.434 MB / 0.5331 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002348/0.5201, allocations: 2.298 MB / 0.5354 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.5204, allocations: 220.1 kB / 0.5356 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5205, allocations: 4 kB / 0.5356 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.521, allocations: 35.94 kB / 0.5356 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5211, allocations: 48.38 kB / 0.5357 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.5211, allocations: 16 kB / 0.5357 GB, free: 7.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005694/0.5217, allocations: 0.503 MB / 0.5362 GB, free: 7.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001586/0.5233, allocations: 287.9 kB / 0.5365 GB, free: 6.988 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.5235, allocations: 139.1 kB / 0.5366 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.5248, allocations: 0.9769 MB / 0.5375 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5248, allocations: 4 kB / 0.5375 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.5255, allocations: 0.5614 MB / 0.5381 GB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.5264, allocations: 181.8 kB / 0.5383 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.5305, allocations: 2.486 MB / 0.5407 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/0.5321, allocations: 1.821 MB / 0.5425 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5321, allocations: 0 / 0.5425 GB, free: 0.6875 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1)