Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001644/0.001644, allocations: 183.8 kB / 7.842 MB, free: 2.5 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.172/1.172, allocations: 221.4 MB / 229.7 MB, free: 3.012 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.001087/0.001087, allocations: 98.83 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.03876/0.03876, allocations: 8.101 MB / 339.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.219, allocations: 58.61 MB / 398 MB, free: 67.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0832/0.3022, allocations: 52.53 MB / 450.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.5585, allocations: 79.41 MB / 0.5175 GB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001514/0.5587, allocations: 59.92 kB / 0.5176 GB, free: 14.93 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.02875/0.5875, allocations: 9.902 MB / 0.5272 GB, free: 7.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5875, allocations: 11.94 kB / 0.5272 GB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.5877, allocations: 27.72 kB / 0.5273 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.588, allocations: 273.5 kB / 0.5275 GB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5881, allocations: 4 kB / 0.5275 GB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.5881, allocations: 12 kB / 0.5275 GB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004628/0.5886, allocations: 278.3 kB / 0.5278 GB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.5891, allocations: 321.9 kB / 0.5281 GB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5891, allocations: 6.234 kB / 0.5281 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5891, allocations: 0 / 0.5281 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5892, allocations: 4 kB / 0.5281 GB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.5913, allocations: 1.483 MB / 0.5296 GB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.5918, allocations: 296.7 kB / 0.5299 GB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.5921, allocations: 162.9 kB / 0.53 GB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.5922, allocations: 81.34 kB / 0.5301 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.5922, allocations: 42.17 kB / 0.5301 GB, free: 4.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.5923, allocations: 0 / 0.5301 GB, free: 4.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.002306/0.5946, allocations: 0.6509 MB / 0.5308 GB, free: 4.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.5947, allocations: 110.8 kB / 0.5309 GB, free: 4.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.5949, allocations: 186.7 kB / 0.531 GB, free: 3.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.595, allocations: 26.27 kB / 0.5311 GB, free: 3.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.5951, allocations: 130.8 kB / 0.5312 GB, free: 3.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.5951, allocations: 88.97 kB / 0.5313 GB, free: 3.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.5952, allocations: 0 / 0.5313 GB, free: 3.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5953, allocations: 339.6 kB / 0.5316 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.5956, allocations: 145.5 kB / 0.5317 GB, free: 3.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.5958, allocations: 190.5 kB / 0.5319 GB, free: 3.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.5963, allocations: 177.2 kB / 0.5321 GB, free: 2.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5963, allocations: 0 / 0.5321 GB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002221/0.5985, allocations: 0.6978 MB / 0.5328 GB, free: 2.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5986, allocations: 11.98 kB / 0.5328 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5986, allocations: 0 / 0.5328 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.6006, allocations: 381.3 kB / 0.5332 GB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.6008, allocations: 35.98 kB / 0.5332 GB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.6055, allocations: 3.507 MB / 0.5366 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.6058, allocations: 23.77 kB / 0.5366 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.6059, allocations: 15.73 kB / 0.5367 GB, free: 14.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.606, allocations: 114.4 kB / 0.5368 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.6061, allocations: 27.81 kB / 0.5368 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.6086, allocations: 0.722 MB / 0.5375 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6086, allocations: 11.94 kB / 0.5375 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6086, allocations: 7.922 kB / 0.5375 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6086, allocations: 0 / 0.5375 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.6091, allocations: 418.2 kB / 0.5379 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6091, allocations: 4 kB / 0.5379 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6093, allocations: 35.98 kB / 0.5379 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.6112, allocations: 377 kB / 0.5383 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.6113, allocations: 0 / 0.5383 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004584/0.6159, allocations: 3.492 MB / 0.5417 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6159, allocations: 0 / 0.5417 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002223/0.6181, allocations: 0.7659 MB / 0.5425 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002294/0.6204, allocations: 1.142 MB / 0.5436 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.6206, allocations: 112.6 kB / 0.5437 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.6206, allocations: 0 / 0.5437 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.6209, allocations: 11.98 kB / 0.5437 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.621, allocations: 15.86 kB / 0.5437 GB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.621, allocations: 15.98 kB / 0.5437 GB, free: 8.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001301/0.6211, allocations: 148.3 kB / 0.5439 GB, free: 8.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001075/0.6222, allocations: 103.3 kB / 0.544 GB, free: 8.246 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002388/0.6225, allocations: 110.8 kB / 0.5441 GB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.6241, allocations: 0.6248 MB / 0.5447 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6241, allocations: 0 / 0.5447 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6251, allocations: 471.9 kB / 0.5451 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.6254, allocations: 18.97 kB / 0.5452 GB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.6263, allocations: 331.9 kB / 0.5455 GB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.6267, allocations: 0.7911 MB / 0.5462 GB, free: 6.117 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6267, allocations: 0 / 0.5462 GB, free: 6.117 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)