Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001159/0.001159, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.116/1.116, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008882/0.0008882, allocations: 92.78 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08773/0.08865, allocations: 56.91 MB / 343.2 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07857/0.1672, allocations: 51.47 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.3723, allocations: 89.49 MB / 484.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.3725, allocations: 80.14 kB / 484.3 MB, free: 3.641 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.3887/0.7612, allocations: 144.7 MB / 0.6142 GB, free: 83.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.7613, allocations: 11.47 kB / 0.6142 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.7666, allocations: 0.9575 MB / 0.6151 GB, free: 83.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.7703, allocations: 2.439 MB / 0.6175 GB, free: 82.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.7704, allocations: 125.8 kB / 0.6176 GB, free: 82.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.7708, allocations: 226.8 kB / 0.6179 GB, free: 82.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006177/0.777, allocations: 4.208 MB / 0.622 GB, free: 82.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00749/0.7845, allocations: 5.299 MB / 0.6271 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-05/0.7846, allocations: 2.719 kB / 0.6271 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.7849, allocations: 1.781 kB / 0.6271 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.7852, allocations: 295.4 kB / 0.6274 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/0.8047, allocations: 18.14 MB / 0.6451 GB, free: 70.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8062, allocations: 1.259 MB / 0.6464 GB, free: 69.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.8071, allocations: 0.675 MB / 0.647 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.8072, allocations: 193.5 kB / 0.6472 GB, free: 69.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.8073, allocations: 51.72 kB / 0.6473 GB, free: 69.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 3.236e-06/0.8073, allocations: 5 kB / 0.6473 GB, free: 69.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.002268/0.8096, allocations: 1.333 MB / 0.6486 GB, free: 68.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.8096, allocations: 61.5 kB / 0.6486 GB, free: 68.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.8109, allocations: 1.156 MB / 0.6498 GB, free: 68.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.811, allocations: 25.7 kB / 0.6498 GB, free: 68.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.8117, allocations: 1.665 MB / 0.6514 GB, free: 66.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.8119, allocations: 370.4 kB / 0.6518 GB, free: 66.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.812, allocations: 4 kB / 0.6518 GB, free: 66.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8122, allocations: 445 kB / 0.6522 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.8132, allocations: 0.9011 MB / 0.6531 GB, free: 65.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.8146, allocations: 1.873 MB / 0.6549 GB, free: 64.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.8165, allocations: 1.414 MB / 0.6563 GB, free: 63.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.8165, allocations: 9.281 kB / 0.6563 GB, free: 63.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003621/0.8202, allocations: 2.743 MB / 0.659 GB, free: 62.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8202, allocations: 3.188 kB / 0.659 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.8202, allocations: 40.09 kB / 0.659 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-05/0.8203, allocations: 53 kB / 0.6591 GB, free: 62.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.822, allocations: 0.5248 MB / 0.6596 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.261e-05/0.822, allocations: 65.58 kB / 0.6596 GB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.8232, allocations: 243.3 kB / 0.6599 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.8234, allocations: 116.1 kB / 0.66 GB, free: 62.61 MB / 442.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.000212/0.8236, allocations: 197.2 kB / 0.6602 GB, free: 62.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.8238, allocations: 124.2 kB / 0.6603 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.8262, allocations: 1.679 MB / 0.6619 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001543/0.8277, allocations: 1.204 MB / 0.6631 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8277, allocations: 0 / 0.6631 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.8278, allocations: 3.422 kB / 0.6631 GB, free: 61.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.8412, allocations: 14.86 MB / 0.6776 GB, free: 53.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.8412, allocations: 23.53 kB / 0.6776 GB, free: 53.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/0.8421, allocations: 232.7 kB / 0.6779 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/0.8421, allocations: 32.12 kB / 0.6779 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.8422, allocations: 39.73 kB / 0.6779 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/0.8422, allocations: 43.14 kB / 0.678 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/0.8423, allocations: 34.88 kB / 0.678 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002989/0.8452, allocations: 4.257 MB / 0.6822 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00384/0.8491, allocations: 5.499 MB / 0.6875 GB, free: 45.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.8494, allocations: 243.2 kB / 0.6878 GB, free: 45.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8496, allocations: 41.05 kB / 0.6878 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.8504, allocations: 57.44 kB / 0.6879 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.8505, allocations: 126.4 kB / 0.688 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.8506, allocations: 61.69 kB / 0.688 GB, free: 45.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001007/0.8516, allocations: 0.8519 MB / 0.6889 GB, free: 44.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002932/0.8546, allocations: 0.8503 MB / 0.6897 GB, free: 44.02 MB / 442.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.0002894/0.8549, allocations: 217.8 kB / 0.6899 GB, free: 43.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.8569, allocations: 1.99 MB / 0.6918 GB, free: 42.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8569, allocations: 4 kB / 0.6918 GB, free: 42.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.8576, allocations: 0.7162 MB / 0.6925 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.8589, allocations: 289.4 kB / 0.6928 GB, free: 41.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007334/0.8663, allocations: 5.443 MB / 0.6981 GB, free: 36.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/0.8685, allocations: 3.003 MB / 0.7011 GB, free: 33.61 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8685, allocations: 0 / 0.7011 GB, free: 33.61 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1)