Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001118/0.001118, allocations: 188.3 kB / 7.847 MB, free: 2.512 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.167/1.167, allocations: 221.4 MB / 229.7 MB, free: 3.129 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.0008841/0.0008841, allocations: 101.7 kB / 280.5 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04025/0.04025, allocations: 8.089 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1882/0.2284, allocations: 58.63 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.313, allocations: 52.52 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.5731, allocations: 80.26 MB / 0.5183 GB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001612/0.5733, allocations: 59.61 kB / 0.5184 GB, free: 13.84 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.03515/0.6085, allocations: 12.93 MB / 0.531 GB, free: 3.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6085, allocations: 15.94 kB / 0.531 GB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.6087, allocations: 41.06 kB / 0.5311 GB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.6093, allocations: 322.7 kB / 0.5314 GB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6093, allocations: 12 kB / 0.5314 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.6094, allocations: 16 kB / 0.5314 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006722/0.61, allocations: 398.8 kB / 0.5318 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.6108, allocations: 434.4 kB / 0.5322 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6108, allocations: 0 / 0.5322 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.6109, allocations: 4 kB / 0.5322 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6109, allocations: 4 kB / 0.5322 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.6138, allocations: 2.08 MB / 0.5342 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.6144, allocations: 446.8 kB / 0.5347 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.6147, allocations: 269.2 kB / 0.5349 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.6149, allocations: 96.52 kB / 0.535 GB, free: 396 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.615, allocations: 38 kB / 0.5351 GB, free: 352 kB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.615, allocations: 0 / 0.5351 GB, free: 352 kB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.003887/0.6189, allocations: 1.091 MB / 0.5361 GB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.619, allocations: 110.8 kB / 0.5362 GB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.6193, allocations: 220.3 kB / 0.5364 GB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.6193, allocations: 33.64 kB / 0.5365 GB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.6194, allocations: 137.9 kB / 0.5366 GB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.6196, allocations: 138.5 kB / 0.5367 GB, free: 14.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.6196, allocations: 0 / 0.5367 GB, free: 14.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6198, allocations: 340.9 kB / 0.5371 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.6201, allocations: 225.5 kB / 0.5373 GB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.6204, allocations: 271.5 kB / 0.5375 GB, free: 14.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.6212, allocations: 277.8 kB / 0.5378 GB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6212, allocations: 0 / 0.5378 GB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003752/0.6249, allocations: 1.133 MB / 0.5389 GB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.625, allocations: 7.984 kB / 0.5389 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.625, allocations: 0 / 0.5389 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.6287, allocations: 0.6752 MB / 0.5396 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.629, allocations: 59.33 kB / 0.5396 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.6359, allocations: 3.473 MB / 0.543 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.6364, allocations: 27.81 kB / 0.543 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.6365, allocations: 15.98 kB / 0.5431 GB, free: 10.05 MB / 362.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 (31): * Single equations (assignments): 30 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.6366, allocations: 107.4 kB / 0.5432 GB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6367, allocations: 39.53 kB / 0.5432 GB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.6407, allocations: 1.225 MB / 0.5444 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6407, allocations: 4 kB / 0.5444 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.6407, allocations: 0 / 0.5444 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.6408, allocations: 3.984 kB / 0.5444 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.6415, allocations: 0.5741 MB / 0.545 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.6415, allocations: 4 kB / 0.545 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.6417, allocations: 58.66 kB / 0.545 GB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003479/0.6452, allocations: 0.6752 MB / 0.5457 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.6453, allocations: 10.92 kB / 0.5457 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007295/0.6526, allocations: 3.457 MB / 0.5491 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.6526, allocations: 0 / 0.5491 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004172/0.6568, allocations: 1.233 MB / 0.5503 GB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004156/0.661, allocations: 1.608 MB / 0.5518 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.6613, allocations: 120.7 kB / 0.552 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6614, allocations: 0 / 0.552 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.6619, allocations: 23.98 kB / 0.552 GB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.662, allocations: 28.33 kB / 0.552 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.662, allocations: 16.25 kB / 0.552 GB, free: 2.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002447/0.6623, allocations: 175.1 kB / 0.5522 GB, free: 1.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001287/0.6636, allocations: 143.8 kB / 0.5523 GB, free: 1.742 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 (35): * Single equations (assignments): 34 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.6638, allocations: 119.2 kB / 0.5524 GB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.666, allocations: 0.8115 MB / 0.5532 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.666, allocations: 4 kB / 0.5532 GB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.6676, allocations: 0.5614 MB / 0.5538 GB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.6679, allocations: 24.89 kB / 0.5538 GB, free: 200 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.6693, allocations: 479.5 kB / 0.5543 GB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.6698, allocations: 0.832 MB / 0.5551 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6698, allocations: 3.938 kB / 0.5551 GB, free: 14.84 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)