Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.0009711/0.0009711, allocations: 190.9 kB / 7.845 MB, free: 2.496 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.234/1.234, allocations: 221.4 MB / 229.6 MB, free: 3.027 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.0009618/0.0009618, allocations: 96.48 kB / 280.5 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03618/0.03618, allocations: 8.098 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/0.2166, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07951/0.2961, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.5515, allocations: 78.85 MB / 0.5169 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001547/0.5517, allocations: 59.84 kB / 0.517 GB, free: 15.23 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.02013/0.5719, allocations: 7.915 MB / 0.5247 GB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5719, allocations: 11.94 kB / 0.5247 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.572, allocations: 23.72 kB / 0.5248 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5723, allocations: 255.2 kB / 0.525 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.5723, allocations: 4 kB / 0.525 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.5724, allocations: 12.75 kB / 0.525 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003485/0.5727, allocations: 233.4 kB / 0.5253 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.5731, allocations: 230.1 kB / 0.5255 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5731, allocations: 0 / 0.5255 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.5731, allocations: 0 / 0.5255 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5732, allocations: 8 kB / 0.5255 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.5748, allocations: 1.173 MB / 0.5266 GB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.5751, allocations: 250.5 kB / 0.5269 GB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5753, allocations: 152.5 kB / 0.527 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.5754, allocations: 89.09 kB / 0.5271 GB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5755, allocations: 41.75 kB / 0.5271 GB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.5755, allocations: 0 / 0.5271 GB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001616/0.5771, allocations: 0.5348 MB / 0.5277 GB, free: 6.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5771, allocations: 63.34 kB / 0.5277 GB, free: 6.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.5773, allocations: 176.3 kB / 0.5279 GB, free: 6.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5773, allocations: 29.7 kB / 0.5279 GB, free: 6.309 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.5774, allocations: 114.9 kB / 0.528 GB, free: 6.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.5775, allocations: 81.09 kB / 0.5281 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.5775, allocations: 0 / 0.5281 GB, free: 6.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5776, allocations: 329.2 kB / 0.5284 GB, free: 5.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5778, allocations: 126.9 kB / 0.5285 GB, free: 5.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.5779, allocations: 125.6 kB / 0.5287 GB, free: 5.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.5784, allocations: 162.4 kB / 0.5288 GB, free: 5.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5784, allocations: 0 / 0.5288 GB, free: 5.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0016/0.58, allocations: 0.5872 MB / 0.5294 GB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.58, allocations: 4 kB / 0.5294 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.58, allocations: 0 / 0.5294 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.5814, allocations: 284.2 kB / 0.5297 GB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5816, allocations: 35.73 kB / 0.5297 GB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.5848, allocations: 2.342 MB / 0.532 GB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.5851, allocations: 15.75 kB / 0.532 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.5851, allocations: 4 kB / 0.532 GB, free: 2.961 MB / 346.7 MB 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 (19): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.5852, allocations: 108.8 kB / 0.5321 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.5853, allocations: 19.72 kB / 0.5321 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.587, allocations: 0.6075 MB / 0.5327 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.587, allocations: 4 kB / 0.5327 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.5871, allocations: 0 / 0.5327 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5871, allocations: 4 kB / 0.5327 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.5875, allocations: 382.1 kB / 0.5331 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5875, allocations: 8 kB / 0.5331 GB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.5876, allocations: 23.98 kB / 0.5331 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.589, allocations: 288.2 kB / 0.5334 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.589, allocations: 0 / 0.5334 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.592, allocations: 2.341 MB / 0.5357 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5921, allocations: 384 / 0.5357 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001625/0.5937, allocations: 0.6592 MB / 0.5363 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001708/0.5954, allocations: 1.039 MB / 0.5373 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.5955, allocations: 100.8 kB / 0.5374 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.5956, allocations: 7.844 kB / 0.5374 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.5958, allocations: 7.984 kB / 0.5374 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.5958, allocations: 15.67 kB / 0.5375 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.5959, allocations: 7.984 kB / 0.5375 GB, free: 14.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000118/0.596, allocations: 139.4 kB / 0.5376 GB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001003/0.597, allocations: 83.84 kB / 0.5377 GB, free: 14.13 MB / 362.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 (19): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.5972, allocations: 118.6 kB / 0.5378 GB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009369/0.5981, allocations: 457.1 kB / 0.5382 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5982, allocations: 0 / 0.5382 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.5988, allocations: 315 kB / 0.5385 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.599, allocations: 16.05 kB / 0.5385 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.5997, allocations: 292.6 kB / 0.5388 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.6001, allocations: 0.7672 MB / 0.5396 GB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6001, allocations: 0 / 0.5396 GB, free: 12.4 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)