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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 176.7 kB / 8.051 MB, free: 1.023 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.687/1.687, allocations: 221.5 MB / 230 MB, free: 7.551 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.0008165/0.0008164, allocations: 103.5 kB / 280.9 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05331/0.05331, allocations: 8.105 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.625e-05, allocations: 3.625 kB / 398.6 MB, free: 49.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 52.53 MB / 451.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.2258, allocations: 79.16 MB / 0.5178 GB, free: 6.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.226, allocations: 59.97 kB / 0.5179 GB, free: 5.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2909/0.5169, allocations: 9.467 MB / 0.5271 GB, free: 78.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.517, allocations: 1.062 kB / 0.5271 GB, free: 78.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.517, allocations: 3.969 kB / 0.5271 GB, free: 78.29 MB / 362.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.002869/0.5199, allocations: 0.726 MB / 0.5278 GB, free: 77.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.5199, allocations: 13.28 kB / 0.5278 GB, free: 77.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5201, allocations: 30.69 kB / 0.5279 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.5206, allocations: 279.3 kB / 0.5281 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.5206, allocations: 5.969 kB / 0.5281 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.5207, allocations: 10.56 kB / 0.5282 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006117/0.5213, allocations: 289.8 kB / 0.5284 GB, free: 77.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.522, allocations: 322.7 kB / 0.5287 GB, free: 77.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.522, allocations: 1.125 kB / 0.5287 GB, free: 77.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.522, allocations: 0 / 0.5287 GB, free: 77.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.5221, allocations: 5.312 kB / 0.5287 GB, free: 77.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.5248, allocations: 1.487 MB / 0.5302 GB, free: 76.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.5259, allocations: 352.5 kB / 0.5305 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.5263, allocations: 157.4 kB / 0.5307 GB, free: 76.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.5265, allocations: 87.78 kB / 0.5308 GB, free: 76.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.5265, allocations: 43.81 kB / 0.5308 GB, free: 76.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 5.741e-06/0.5265, allocations: 3.375 kB / 0.5308 GB, free: 76.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.003371/0.5299, allocations: 0.6377 MB / 0.5314 GB, free: 76.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.53, allocations: 112.3 kB / 0.5315 GB, free: 76.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.5305, allocations: 195.2 kB / 0.5317 GB, free: 76.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.5305, allocations: 30.64 kB / 0.5318 GB, free: 76.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5307, allocations: 157.8 kB / 0.5319 GB, free: 76.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5308, allocations: 82.17 kB / 0.532 GB, free: 76.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.5308, allocations: 0 / 0.532 GB, free: 76.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.531, allocations: 335.2 kB / 0.5323 GB, free: 75.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.5313, allocations: 149.9 kB / 0.5324 GB, free: 75.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.5317, allocations: 189.4 kB / 0.5326 GB, free: 75.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.5324, allocations: 169.8 kB / 0.5328 GB, free: 75.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5324, allocations: 1.594 kB / 0.5328 GB, free: 75.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003004/0.5354, allocations: 0.6871 MB / 0.5335 GB, free: 75.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.5355, allocations: 7.234 kB / 0.5335 GB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5355, allocations: 0 / 0.5335 GB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/0.5381, allocations: 383.6 kB / 0.5338 GB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.5384, allocations: 45.03 kB / 0.5339 GB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.544, allocations: 3.605 MB / 0.5374 GB, free: 73.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.5445, allocations: 21.22 kB / 0.5374 GB, free: 73.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.5446, allocations: 15.58 kB / 0.5374 GB, free: 73.06 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.0001798/0.5448, allocations: 115 kB / 0.5375 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002769/0.5475, allocations: 0.638 MB / 0.5382 GB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5477, allocations: 28.5 kB / 0.5382 GB, free: 72.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.5507, allocations: 0.7135 MB / 0.5389 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.5507, allocations: 3.188 kB / 0.5389 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.5508, allocations: 2.406 kB / 0.5389 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5508, allocations: 0.5938 kB / 0.5389 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.5517, allocations: 425.5 kB / 0.5393 GB, free: 72.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5517, allocations: 0.5625 kB / 0.5393 GB, free: 72.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.552, allocations: 37 kB / 0.5393 GB, free: 72.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.5545, allocations: 383.3 kB / 0.5397 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.5545, allocations: 4.938 kB / 0.5397 GB, free: 72.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.5595, allocations: 3.595 MB / 0.5432 GB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5595, allocations: 0 / 0.5432 GB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.5621, allocations: 0.7597 MB / 0.544 GB, free: 69.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5622, allocations: 112.7 kB / 0.5441 GB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.5623, allocations: 0 / 0.5441 GB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.5626, allocations: 13.55 kB / 0.5441 GB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.5627, allocations: 33.91 kB / 0.5441 GB, free: 69.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5628, allocations: 7.375 kB / 0.5441 GB, free: 69.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.563, allocations: 156.8 kB / 0.5443 GB, free: 69.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.563, allocations: 0 / 0.5443 GB, free: 69.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007347/0.5637, allocations: 103.7 kB / 0.5444 GB, free: 69.09 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.002839/0.5666, allocations: 1.304 MB / 0.5456 GB, free: 68.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.5683, allocations: 0.6531 MB / 0.5463 GB, free: 67.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5683, allocations: 0 / 0.5463 GB, free: 67.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5695, allocations: 487.8 kB / 0.5467 GB, free: 67.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.5698, allocations: 16.22 kB / 0.5468 GB, free: 67.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5709, allocations: 374.8 kB / 0.5471 GB, free: 67.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.5711, allocations: 0.7615 MB / 0.5479 GB, free: 66.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.5713, allocations: 31.23 kB / 0.5479 GB, free: 66.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.5715, allocations: 84.3 kB / 0.548 GB, free: 66.49 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5715, allocations: 4 kB / 0.548 GB, free: 66.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.6032, allocations: 7.359 MB / 0.5552 GB, free: 60.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.6034, allocations: 139.5 kB / 0.5553 GB, free: 59.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.498, allocations: 3.25 kB / 0.5553 GB, free: 59.82 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)