Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001379/0.001379, allocations: 195.2 kB / 8.144 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.064/1.064, allocations: 194.2 MB / 202.8 MB, free: 8.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001686/0.001685, allocations: 123 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1573/0.1573, allocations: 37.91 MB / 330.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.3364, allocations: 59.34 MB / 389.9 MB, free: 78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07283/0.4093, allocations: 53.23 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.6718, allocations: 98.79 MB / 0.5292 GB, free: 7.984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.6721, allocations: 84.77 kB / 0.5293 GB, free: 7.973 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.04549/0.7176, allocations: 17.74 MB / 0.5466 GB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.7176, allocations: 11.94 kB / 0.5466 GB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7188, allocations: 147 kB / 0.5468 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.7221, allocations: 1.204 MB / 0.5479 GB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.7221, allocations: 12 kB / 0.548 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.7223, allocations: 35.91 kB / 0.548 GB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008916/0.7232, allocations: 0.5333 MB / 0.5485 GB, free: 8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.7244, allocations: 0.7877 MB / 0.5493 GB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.7244, allocations: 7.906 kB / 0.5493 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.7244, allocations: 0 / 0.5493 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/0.7247, allocations: 45.44 kB / 0.5493 GB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.7361, allocations: 5.54 MB / 0.5547 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.7369, allocations: 0.7086 MB / 0.5554 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.7376, allocations: 0.6316 MB / 0.5561 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-05/0.7377, allocations: 16.3 kB / 0.5561 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7377, allocations: 42.34 kB / 0.5561 GB, free: 1.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.454e-06/0.7377, allocations: 0 / 0.5561 GB, free: 1.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.01579/0.7535, allocations: 4.813 MB / 0.5608 GB, free: 13.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.7536, allocations: 85.55 kB / 0.5609 GB, free: 13.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.7541, allocations: 322.5 kB / 0.5612 GB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.7543, allocations: 25.7 kB / 0.5612 GB, free: 13.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.7544, allocations: 280.4 kB / 0.5615 GB, free: 13.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.7547, allocations: 253.7 kB / 0.5617 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.7548, allocations: 0 / 0.5617 GB, free: 12.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.755, allocations: 365 kB / 0.5621 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009512/0.7559, allocations: 0.7868 MB / 0.5628 GB, free: 11.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.757, allocations: 0.9882 MB / 0.5638 GB, free: 11.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7582, allocations: 0.8914 MB / 0.5647 GB, free: 10.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7582, allocations: 4 kB / 0.5647 GB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01644/0.7747, allocations: 4.835 MB / 0.5694 GB, free: 6.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.7747, allocations: 4 kB / 0.5694 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01247/0.7872, allocations: 3.866 MB / 0.5732 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/0.8066, allocations: 5.277 MB / 0.5783 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.8072, allocations: 111.8 kB / 0.5784 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/0.823, allocations: 9.815 MB / 0.588 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.8237, allocations: 27.98 kB / 0.5881 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.8239, allocations: 179.9 kB / 0.5882 GB, free: 3.699 MB / 394.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.0002574/0.8242, allocations: 132.5 kB / 0.5884 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8244, allocations: 47.44 kB / 0.5884 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.8383, allocations: 3.575 MB / 0.5919 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.8384, allocations: 8 kB / 0.5919 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8384, allocations: 0 / 0.5919 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.8384, allocations: 0 / 0.5919 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.855, allocations: 4.916 MB / 0.5967 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.8551, allocations: 160 / 0.5967 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.8555, allocations: 63.91 kB / 0.5968 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0264/0.8819, allocations: 6.614 MB / 0.6032 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004559/0.8824, allocations: 231.8 kB / 0.6034 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.8992, allocations: 11.49 MB / 0.6147 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8992, allocations: 4 kB / 0.6147 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01434/0.9136, allocations: 4.067 MB / 0.6186 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01507/0.9287, allocations: 4.968 MB / 0.6235 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.9289, allocations: 124.5 kB / 0.6236 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.9293, allocations: 179.9 kB / 0.6238 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.9298, allocations: 23.97 kB / 0.6238 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.93, allocations: 76.22 kB / 0.6239 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/0.9303, allocations: 175.9 kB / 0.624 GB, free: 14.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002756/0.9305, allocations: 243.2 kB / 0.6243 GB, free: 14.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001908/0.9325, allocations: 343.9 kB / 0.6246 GB, free: 13.91 MB / 442.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.0003034/0.9328, allocations: 159.1 kB / 0.6248 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004307/0.9371, allocations: 2.257 MB / 0.627 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9371, allocations: 0 / 0.627 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.9405, allocations: 1.467 MB / 0.6284 GB, free: 9.957 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/0.9411, allocations: 105.2 kB / 0.6285 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.9465, allocations: 3.342 MB / 0.6318 GB, free: 6.473 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000898/0.9474, allocations: 1.201 MB / 0.6329 GB, free: 5.242 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9474, allocations: 4 kB / 0.6329 GB, free: 5.238 MB / 442.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)