Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.001074/0.001075, allocations: 182.3 kB / 8.131 MB, free: 2.219 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.145/1.145, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009471/0.000947, allocations: 101.9 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09424/0.09523, allocations: 55.83 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.2825, allocations: 50.38 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08715/0.3697, allocations: 88.62 MB / 475.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.37, allocations: 91.56 kB / 475.7 MB, free: 14.05 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.4255/0.7955, allocations: 137.2 MB / 0.5985 GB, free: 7.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.7956, allocations: 12 kB / 0.5985 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.8013, allocations: 0.9479 MB / 0.5994 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004891/0.8062, allocations: 2.442 MB / 0.6018 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.8064, allocations: 124 kB / 0.6019 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008517/0.8073, allocations: 227.9 kB / 0.6022 GB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007051/0.8143, allocations: 4.202 MB / 0.6063 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.8248, allocations: 5.306 MB / 0.6114 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/0.825, allocations: 4 kB / 0.6114 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.8253, allocations: 4 kB / 0.6114 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/0.8256, allocations: 284.4 kB / 0.6117 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.85, allocations: 17.89 MB / 0.6292 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.8516, allocations: 1.269 MB / 0.6304 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.8524, allocations: 0.6757 MB / 0.6311 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.8526, allocations: 110.1 kB / 0.6312 GB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8526, allocations: 43.56 kB / 0.6312 GB, free: 5.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 3.376e-06/0.8526, allocations: 0 / 0.6312 GB, free: 5.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.002254/0.8549, allocations: 1.329 MB / 0.6325 GB, free: 4.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8549, allocations: 64.41 kB / 0.6326 GB, free: 4.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8564, allocations: 1.16 MB / 0.6337 GB, free: 2.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.8565, allocations: 25.7 kB / 0.6338 GB, free: 2.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.8574, allocations: 1.671 MB / 0.6354 GB, free: 1.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.8577, allocations: 366.8 kB / 0.6357 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.8578, allocations: 0 / 0.6357 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.858, allocations: 443.1 kB / 0.6362 GB, free: 416 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.8592, allocations: 0.91 MB / 0.637 GB, free: 15.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.861, allocations: 1.867 MB / 0.6389 GB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.8631, allocations: 1.423 MB / 0.6403 GB, free: 11.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.8631, allocations: 8 kB / 0.6403 GB, free: 11.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004204/0.8673, allocations: 2.745 MB / 0.643 GB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8674, allocations: 4 kB / 0.643 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/0.8674, allocations: 32 kB / 0.643 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.074e-05/0.8675, allocations: 60.03 kB / 0.643 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.8693, allocations: 0.5226 MB / 0.6436 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-05/0.8694, allocations: 71.72 kB / 0.6436 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8708, allocations: 241.2 kB / 0.6439 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.871, allocations: 116 kB / 0.644 GB, free: 7.914 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * 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.0002466/0.8712, allocations: 196 kB / 0.6441 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.8714, allocations: 118.5 kB / 0.6443 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.8742, allocations: 1.682 MB / 0.6459 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001758/0.876, allocations: 1.207 MB / 0.6471 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.876, allocations: 0 / 0.6471 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.876, allocations: 3.984 kB / 0.6471 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1298/1.006, allocations: 13.43 MB / 0.6602 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/1.006, allocations: 23.03 kB / 0.6602 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008869/1.007, allocations: 226.3 kB / 0.6604 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-05/1.007, allocations: 35.16 kB / 0.6605 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/1.007, allocations: 38.64 kB / 0.6605 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-05/1.007, allocations: 43.78 kB / 0.6605 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/1.007, allocations: 34 kB / 0.6606 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003186/1.01, allocations: 4.249 MB / 0.6647 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003918/1.014, allocations: 5.501 MB / 0.6701 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/1.014, allocations: 247 kB / 0.6703 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/1.015, allocations: 36.75 kB / 0.6704 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/1.016, allocations: 49.52 kB / 0.6704 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.016, allocations: 130 kB / 0.6705 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/1.016, allocations: 61.09 kB / 0.6706 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0009589/1.017, allocations: 0.8519 MB / 0.6714 GB, free: 112.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002954/1.02, allocations: 0.8466 MB / 0.6723 GB, free: 112.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 99 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0003381/1.02, allocations: 222.1 kB / 0.6725 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/1.022, allocations: 1.993 MB / 0.6744 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.022, allocations: 3.188 kB / 0.6744 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007306/1.023, allocations: 0.7106 MB / 0.6751 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.024, allocations: 293.7 kB / 0.6754 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.033, allocations: 5.451 MB / 0.6807 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002768/1.035, allocations: 2.993 MB / 0.6836 GB, free: 109.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.036, allocations: 0 / 0.6836 GB, free: 109.6 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1)