Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",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 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 182 kB / 8.136 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.109/1.109, allocations: 221.4 MB / 229.9 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009033, allocations: 99.34 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09288/0.09381, allocations: 55.82 MB / 336.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.2757, allocations: 50.4 MB / 387 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.3767, allocations: 88.7 MB / 475.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.3771, allocations: 79.89 kB / 475.8 MB, free: 13.95 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.4088/0.7858, allocations: 154.4 MB / 0.6154 GB, free: 6.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7859, allocations: 12 kB / 0.6154 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.7914, allocations: 0.9786 MB / 0.6164 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.7962, allocations: 2.735 MB / 0.6191 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7963, allocations: 140 kB / 0.6192 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/0.7969, allocations: 251.9 kB / 0.6194 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007617/0.8045, allocations: 4.63 MB / 0.6239 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009057/0.8136, allocations: 5.931 MB / 0.6297 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.182e-05/0.8137, allocations: 0 / 0.6297 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.814, allocations: 4 kB / 0.6297 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002824/0.8143, allocations: 333.3 kB / 0.6301 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/0.8395, allocations: 19.9 MB / 0.6495 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.841, allocations: 1.28 MB / 0.6507 GB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.8419, allocations: 0.7208 MB / 0.6514 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.842, allocations: 105.9 kB / 0.6515 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.8421, allocations: 47.33 kB / 0.6516 GB, free: 468 kB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/0.8421, allocations: 0 / 0.6516 GB, free: 468 kB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.1181/0.9602, allocations: 1.315 MB / 0.6529 GB, free: 112.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.9602, allocations: 59.94 kB / 0.6529 GB, free: 112.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.9619, allocations: 1.257 MB / 0.6542 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.9619, allocations: 25.7 kB / 0.6542 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/0.9626, allocations: 1.863 MB / 0.656 GB, free: 111.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.9628, allocations: 349.3 kB / 0.6563 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.9629, allocations: 3.75 kB / 0.6563 GB, free: 111.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9631, allocations: 454.6 kB / 0.6568 GB, free: 111.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.9642, allocations: 0.898 MB / 0.6577 GB, free: 111.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.9656, allocations: 2.011 MB / 0.6596 GB, free: 110 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.9675, allocations: 1.459 MB / 0.661 GB, free: 110 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.9675, allocations: 11.62 kB / 0.6611 GB, free: 110 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003859/0.9714, allocations: 2.825 MB / 0.6638 GB, free: 109.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.9714, allocations: 8.938 kB / 0.6638 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/0.9715, allocations: 37.91 kB / 0.6639 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.245e-05/0.9716, allocations: 58.31 kB / 0.6639 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.9734, allocations: 0.534 MB / 0.6644 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.878e-05/0.9734, allocations: 79.27 kB / 0.6645 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.975, allocations: 256.4 kB / 0.6648 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.9751, allocations: 126 kB / 0.6649 GB, free: 109.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.9754, allocations: 198.6 kB / 0.6651 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.9757, allocations: 133 kB / 0.6652 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.9783, allocations: 1.646 MB / 0.6668 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001538/0.9798, allocations: 1.16 MB / 0.6679 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.9798, allocations: 0 / 0.6679 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.9799, allocations: 6.141 kB / 0.6679 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.9945, allocations: 12.88 MB / 0.6805 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.9946, allocations: 17.19 kB / 0.6805 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.9955, allocations: 223.6 kB / 0.6807 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-05/0.9956, allocations: 27.31 kB / 0.6808 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.9957, allocations: 36.89 kB / 0.6808 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.187e-05/0.9957, allocations: 43.78 kB / 0.6808 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/0.9957, allocations: 34 kB / 0.6809 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00359/0.9993, allocations: 4.103 MB / 0.6849 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004579/1.004, allocations: 5.334 MB / 0.6901 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/1.005, allocations: 354.4 kB / 0.6904 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.005, allocations: 31.09 kB / 0.6905 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/1.006, allocations: 50.36 kB / 0.6905 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.006, allocations: 122.4 kB / 0.6906 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/1.006, allocations: 60.58 kB / 0.6907 GB, free: 100.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001184/1.007, allocations: 0.9322 MB / 0.6916 GB, free: 100.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003259/1.01, allocations: 0.9231 MB / 0.6925 GB, free: 100.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/1.011, allocations: 211.4 kB / 0.6927 GB, free: 100 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/1.013, allocations: 1.975 MB / 0.6946 GB, free: 99.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.013, allocations: 5.688 kB / 0.6946 GB, free: 99.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007471/1.014, allocations: 0.6674 MB / 0.6953 GB, free: 99.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.016, allocations: 331.8 kB / 0.6956 GB, free: 99.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.026, allocations: 5.824 MB / 0.7013 GB, free: 98.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003031/1.029, allocations: 3.281 MB / 0.7045 GB, free: 97.35 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/1.029, allocations: 0 / 0.7045 GB, free: 97.35 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1)