Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",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 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 184 kB / 8.138 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 88.28 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1765/0.1765, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2109/0.3875, allocations: 62.44 MB / 410.1 MB, free: 46.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.5023, allocations: 56.31 MB / 466.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.8601, allocations: 103.9 MB / 0.5569 GB, free: 6.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.8605, allocations: 92.8 kB / 0.557 GB, free: 6.523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.05409/0.9146, allocations: 17.76 MB / 0.5743 GB, free: 4.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.9147, allocations: 12 kB / 0.5743 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.9161, allocations: 143 kB / 0.5745 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.9203, allocations: 1.205 MB / 0.5757 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.693e-05/0.9204, allocations: 20 kB / 0.5757 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.9207, allocations: 31.91 kB / 0.5757 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/0.9221, allocations: 0.541 MB / 0.5762 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.9235, allocations: 0.7867 MB / 0.577 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.9235, allocations: 4 kB / 0.577 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.9236, allocations: 0 / 0.577 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.9239, allocations: 44.75 kB / 0.5771 GB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.937, allocations: 5.54 MB / 0.5825 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.938, allocations: 0.7167 MB / 0.5832 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.9387, allocations: 0.6318 MB / 0.5838 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.9388, allocations: 12.44 kB / 0.5838 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.9389, allocations: 43 kB / 0.5838 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 4.188e-06/0.9389, allocations: 3.938 kB / 0.5838 GB, free: 10.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.01749/0.9564, allocations: 4.809 MB / 0.5885 GB, free: 5.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.9565, allocations: 81.55 kB / 0.5886 GB, free: 5.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.9571, allocations: 324.8 kB / 0.5889 GB, free: 5.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.9574, allocations: 25.7 kB / 0.5889 GB, free: 5.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.9576, allocations: 279.8 kB / 0.5892 GB, free: 4.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.958, allocations: 256.9 kB / 0.5895 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.9581, allocations: 0 / 0.5895 GB, free: 4.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.9583, allocations: 366.8 kB / 0.5898 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.9597, allocations: 0.7826 MB / 0.5906 GB, free: 3.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.961, allocations: 1 MB / 0.5915 GB, free: 2.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.9624, allocations: 0.8891 MB / 0.5924 GB, free: 1.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9625, allocations: 0 / 0.5924 GB, free: 1.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01772/0.9802, allocations: 4.832 MB / 0.5971 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.9803, allocations: 5.406 kB / 0.5971 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01308/0.9933, allocations: 3.87 MB / 0.6009 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/1.013, allocations: 5.271 MB / 0.6061 GB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/1.014, allocations: 115.8 kB / 0.6062 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.031, allocations: 9.812 MB / 0.6158 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/1.032, allocations: 23.97 kB / 0.6158 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/1.033, allocations: 175.9 kB / 0.6159 GB, free: 9.301 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004028/1.033, allocations: 132.7 kB / 0.6161 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.033, allocations: 43.44 kB / 0.6161 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/1.048, allocations: 3.579 MB / 0.6196 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-05/1.048, allocations: 8 kB / 0.6196 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.048, allocations: 0 / 0.6196 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/1.048, allocations: 11.89 kB / 0.6196 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.065, allocations: 4.909 MB / 0.6244 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.065, allocations: 4 kB / 0.6244 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.065, allocations: 51.97 kB / 0.6245 GB, free: 484 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02641/1.092, allocations: 6.614 MB / 0.6309 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004252/1.092, allocations: 227.8 kB / 0.6312 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1806/1.273, allocations: 11.5 MB / 0.6424 GB, free: 197.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.273, allocations: 6.969 kB / 0.6424 GB, free: 197.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01394/1.287, allocations: 4.052 MB / 0.6463 GB, free: 196.9 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01484/1.302, allocations: 4.96 MB / 0.6512 GB, free: 196.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/1.302, allocations: 123.8 kB / 0.6513 GB, free: 196.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.302, allocations: 186.1 kB / 0.6515 GB, free: 196.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/1.303, allocations: 18.39 kB / 0.6515 GB, free: 196.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.303, allocations: 83.73 kB / 0.6516 GB, free: 196.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.303, allocations: 178.4 kB / 0.6518 GB, free: 196.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002487/1.304, allocations: 243.1 kB / 0.652 GB, free: 196.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002024/1.306, allocations: 338 kB / 0.6523 GB, free: 196.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/1.306, allocations: 164 kB / 0.6525 GB, free: 196 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004505/1.311, allocations: 2.239 MB / 0.6547 GB, free: 195.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.311, allocations: 0 / 0.6547 GB, free: 195.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.314, allocations: 1.476 MB / 0.6561 GB, free: 195.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/1.315, allocations: 99.8 kB / 0.6562 GB, free: 195.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/1.32, allocations: 3.359 MB / 0.6595 GB, free: 194.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/1.321, allocations: 1.207 MB / 0.6606 GB, free: 193.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/1.321, allocations: 0 / 0.6606 GB, free: 193.7 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)