Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.00173/0.001731, allocations: 182.9 kB / 8.137 MB, free: 2.223 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.05/1.05, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001687/0.001687, allocations: 120 kB / 247.7 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1619/0.1619, allocations: 37.92 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1838/0.3458, allocations: 59.34 MB / 389.9 MB, free: 77.97 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.4242, allocations: 53.23 MB / 443.1 MB, free: 24.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/0.6656, allocations: 93.09 MB / 0.5236 GB, free: 9.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.6658, allocations: 85.3 kB / 0.5237 GB, free: 9.469 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.02934/0.6952, allocations: 11.2 MB / 0.5347 GB, free: 3.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6952, allocations: 8 kB / 0.5347 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.6954, allocations: 51.34 kB / 0.5347 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.6983, allocations: 1.21 MB / 0.5359 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.6984, allocations: 12 kB / 0.5359 GB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.811e-05/0.6985, allocations: 24 kB / 0.5359 GB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005994/0.6991, allocations: 336 kB / 0.5363 GB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.6997, allocations: 444.4 kB / 0.5367 GB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6998, allocations: 4 kB / 0.5367 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.6998, allocations: 0 / 0.5367 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.6998, allocations: 20.77 kB / 0.5367 GB, free: 2.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.7021, allocations: 2.023 MB / 0.5387 GB, free: 248 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.7025, allocations: 224 kB / 0.5389 GB, free: 68 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.7027, allocations: 126.6 kB / 0.539 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.7028, allocations: 192 / 0.539 GB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.7028, allocations: 42.12 kB / 0.539 GB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.7028, allocations: 0 / 0.539 GB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001007/0.7038, allocations: 0.6564 MB / 0.5397 GB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.7039, allocations: 81.77 kB / 0.5398 GB, free: 15.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.7042, allocations: 300.5 kB / 0.5401 GB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.7042, allocations: 25.7 kB / 0.5401 GB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7043, allocations: 256.5 kB / 0.5403 GB, free: 14.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.7044, allocations: 77.53 kB / 0.5404 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.7044, allocations: 0 / 0.5404 GB, free: 14.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7045, allocations: 353.7 kB / 0.5407 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.7046, allocations: 81.53 kB / 0.5408 GB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.7049, allocations: 260.7 kB / 0.5411 GB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.705, allocations: 124.8 kB / 0.5412 GB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.705, allocations: 7.938 kB / 0.5412 GB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006346/0.7057, allocations: 398.9 kB / 0.5416 GB, free: 13.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7057, allocations: 4 kB / 0.5416 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7057, allocations: 8 kB / 0.5416 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.7059, allocations: 48.19 kB / 0.5416 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.7062, allocations: 87.7 kB / 0.5417 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.7075, allocations: 1.419 MB / 0.5431 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.7077, allocations: 8 kB / 0.5431 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.7077, allocations: 19.44 kB / 0.5431 GB, free: 11.9 MB / 362.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: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/0.7079, allocations: 120.8 kB / 0.5432 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.7079, allocations: 35.53 kB / 0.5433 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.7083, allocations: 225.2 kB / 0.5435 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7083, allocations: 7.938 kB / 0.5435 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.7083, allocations: 0 / 0.5435 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.7083, allocations: 4 kB / 0.5435 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.7091, allocations: 0.6013 MB / 0.5441 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7091, allocations: 3.984 kB / 0.5441 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.7094, allocations: 47.23 kB / 0.5441 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7094, allocations: 8.031 kB / 0.5441 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.7094, allocations: 0 / 0.5441 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7094, allocations: 7.984 kB / 0.5441 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7094, allocations: 0 / 0.5441 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004521/0.7099, allocations: 448.7 kB / 0.5446 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000633/0.7105, allocations: 0.9 MB / 0.5455 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7107, allocations: 120.2 kB / 0.5456 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.7107, allocations: 4.125 kB / 0.5456 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.7109, allocations: 7.984 kB / 0.5456 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.7109, allocations: 11.36 kB / 0.5456 GB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.7109, allocations: 12.06 kB / 0.5456 GB, free: 9.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002/0.7111, allocations: 224.2 kB / 0.5458 GB, free: 9.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001036/0.7122, allocations: 95.3 kB / 0.5459 GB, free: 9.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.7124, allocations: 126.8 kB / 0.546 GB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.7129, allocations: 355.5 kB / 0.5464 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7129, allocations: 0 / 0.5464 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7131, allocations: 92.8 kB / 0.5465 GB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.7136, allocations: 79.11 kB / 0.5465 GB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.7148, allocations: 0.5842 MB / 0.5471 GB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7153, allocations: 0.9014 MB / 0.548 GB, free: 7.293 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7153, allocations: 0 / 0.548 GB, free: 7.293 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)