Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) 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(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.001076/0.001076, allocations: 189.4 kB / 7.846 MB, free: 2.504 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.233/1.233, allocations: 221.4 MB / 229.7 MB, free: 3.066 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.0009143/0.0009143, allocations: 95.38 kB / 280.5 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03652/0.03652, allocations: 8.097 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1868/0.2233, allocations: 58.62 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.3101, allocations: 52.53 MB / 450.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.5869, allocations: 80.98 MB / 0.519 GB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5872, allocations: 70.09 kB / 0.5191 GB, free: 13.36 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.09872/0.686, allocations: 37.27 MB / 0.5555 GB, free: 15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.686, allocations: 15.94 kB / 0.5555 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.6866, allocations: 135.2 kB / 0.5557 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.688, allocations: 0.7487 MB / 0.5564 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.6881, allocations: 28 kB / 0.5564 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.6883, allocations: 48 kB / 0.5565 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002395/0.6907, allocations: 1.402 MB / 0.5578 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.6932, allocations: 1.373 MB / 0.5592 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6932, allocations: 3.938 kB / 0.5592 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6933, allocations: 4 kB / 0.5592 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.6934, allocations: 27.98 kB / 0.5592 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/0.7026, allocations: 6.304 MB / 0.5654 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.7048, allocations: 1.58 MB / 0.5669 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.7063, allocations: 1.025 MB / 0.5679 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.7066, allocations: 114.4 kB / 0.568 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.7066, allocations: 52.11 kB / 0.5681 GB, free: 1.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.987e-06/0.7067, allocations: 4 kB / 0.5681 GB, free: 1.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.01155/0.7182, allocations: 3.664 MB / 0.5716 GB, free: 13.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.7183, allocations: 116.1 kB / 0.5718 GB, free: 13.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.7191, allocations: 0.5039 MB / 0.5722 GB, free: 13.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.7193, allocations: 25.7 kB / 0.5723 GB, free: 13.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.7194, allocations: 241.7 kB / 0.5725 GB, free: 13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.7199, allocations: 484.5 kB / 0.573 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.72, allocations: 0 / 0.573 GB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7202, allocations: 353.9 kB / 0.5733 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7214, allocations: 0.7916 MB / 0.5741 GB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.7227, allocations: 0.8772 MB / 0.5749 GB, free: 10.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.7252, allocations: 0.9667 MB / 0.5759 GB, free: 9.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7252, allocations: 0 / 0.5759 GB, free: 9.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01148/0.7367, allocations: 3.711 MB / 0.5795 GB, free: 5.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7367, allocations: 4 kB / 0.5795 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7367, allocations: 3.984 kB / 0.5795 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.7473, allocations: 2.341 MB / 0.5818 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.7481, allocations: 159.8 kB / 0.5819 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.769, allocations: 10.37 MB / 0.5921 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.7702, allocations: 79 kB / 0.5921 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.7704, allocations: 43.97 kB / 0.5922 GB, free: 8.672 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0003538/0.7707, allocations: 123.1 kB / 0.5923 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.771, allocations: 114.7 kB / 0.5924 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.7828, allocations: 4.012 MB / 0.5963 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.7828, allocations: 16 kB / 0.5963 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7828, allocations: 4 kB / 0.5963 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.7828, allocations: 11.97 kB / 0.5964 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.7852, allocations: 1.931 MB / 0.5982 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7852, allocations: 4 kB / 0.5983 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.7858, allocations: 179.7 kB / 0.5984 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/0.7962, allocations: 2.345 MB / 0.6007 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.7964, allocations: 11.98 kB / 0.6007 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02121/0.8176, allocations: 10.37 MB / 0.6109 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.8177, allocations: 3.906 kB / 0.6109 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01127/0.8289, allocations: 3.882 MB / 0.6146 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0114/0.8404, allocations: 4.269 MB / 0.6188 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.8408, allocations: 215.3 kB / 0.619 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.8411, allocations: 0 / 0.619 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8422, allocations: 79.94 kB / 0.6191 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.8424, allocations: 85.84 kB / 0.6192 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.8425, allocations: 55.92 kB / 0.6192 GB, free: 12.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005587/0.8431, allocations: 403.1 kB / 0.6196 GB, free: 12.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002005/0.8451, allocations: 451.6 kB / 0.62 GB, free: 11.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003057/0.8454, allocations: 127.7 kB / 0.6202 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006041/0.8514, allocations: 2.626 MB / 0.6227 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8515, allocations: 0.6562 kB / 0.6227 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/0.8561, allocations: 1.744 MB / 0.6244 GB, free: 7.352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.8569, allocations: 86.81 kB / 0.6245 GB, free: 7.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.8613, allocations: 1.66 MB / 0.6261 GB, free: 5.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/0.8623, allocations: 1.176 MB / 0.6273 GB, free: 4.367 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8623, allocations: 0 / 0.6273 GB, free: 4.367 MB / 442.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)