Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.001401/0.001401, allocations: 179.4 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 239.7 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009629, allocations: 101.6 kB / 290.9 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06024/0.06024, allocations: 8.113 MB / 350.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 12 kB / 413.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 52.52 MB / 465.7 MB, free: 69.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.4133, allocations: 78.51 MB / 0.5314 GB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4137, allocations: 63.97 kB / 0.5315 GB, free: 6.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.4266, allocations: 4.873 MB / 0.5363 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4267, allocations: 0 / 0.5363 GB, free: 2.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4267, allocations: 3.938 kB / 0.5363 GB, free: 2.02 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009215/0.4276, allocations: 478.8 kB / 0.5367 GB, free: 1.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4277, allocations: 8.031 kB / 0.5367 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.713e-05/0.4278, allocations: 46.55 kB / 0.5368 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.4279, allocations: 23.86 kB / 0.5368 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4282, allocations: 214.8 kB / 0.537 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4282, allocations: 8 kB / 0.537 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4282, allocations: 12.44 kB / 0.537 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.4285, allocations: 149.6 kB / 0.5372 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4286, allocations: 0 / 0.5372 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.4286, allocations: 4 kB / 0.5372 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.4286, allocations: 11.89 kB / 0.5372 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.4288, allocations: 113 kB / 0.5373 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.4297, allocations: 0.5313 MB / 0.5378 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/0.4306, allocations: 154.5 kB / 0.538 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.4307, allocations: 85.09 kB / 0.538 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.4308, allocations: 34.56 kB / 0.5381 GB, free: 15.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.537e-06/0.4308, allocations: 3.984 kB / 0.5381 GB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001348/0.4322, allocations: 351.3 kB / 0.5384 GB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.4323, allocations: 59.39 kB / 0.5385 GB, free: 15.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4325, allocations: 117.8 kB / 0.5386 GB, free: 15.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4325, allocations: 29.7 kB / 0.5386 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4326, allocations: 131.6 kB / 0.5387 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.4327, allocations: 27.56 kB / 0.5388 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.4327, allocations: 0 / 0.5388 GB, free: 15.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4329, allocations: 322.8 kB / 0.5391 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.4329, allocations: 20 kB / 0.5391 GB, free: 14.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.433, allocations: 45.64 kB / 0.5391 GB, free: 14.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.4331, allocations: 39.94 kB / 0.5392 GB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4331, allocations: 4 kB / 0.5392 GB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004966/0.4336, allocations: 170.3 kB / 0.5393 GB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4337, allocations: 6.031 kB / 0.5393 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4337, allocations: 0 / 0.5393 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.4342, allocations: 80.8 kB / 0.5394 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.4342, allocations: 15.94 kB / 0.5394 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.436, allocations: 1.534 MB / 0.5409 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.436, allocations: 3.906 kB / 0.5409 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4361, allocations: 4.031 kB / 0.5409 GB, free: 12.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.4362, allocations: 130.4 kB / 0.5411 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.4362, allocations: 7.906 kB / 0.5411 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.4368, allocations: 210.8 kB / 0.5413 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4368, allocations: 7.984 kB / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4368, allocations: 4 kB / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4368, allocations: 0 / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.4371, allocations: 229.5 kB / 0.5415 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4371, allocations: 0.5625 kB / 0.5415 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.4371, allocations: 12 kB / 0.5415 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.4375, allocations: 76.77 kB / 0.5416 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4375, allocations: 4 kB / 0.5416 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.4391, allocations: 1.534 MB / 0.5431 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4391, allocations: 0 / 0.5431 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.4396, allocations: 280.1 kB / 0.5434 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.4397, allocations: 92.95 kB / 0.5434 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.4397, allocations: 4 kB / 0.5434 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4398, allocations: 4 kB / 0.5435 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.4399, allocations: 15.94 kB / 0.5435 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4399, allocations: 4 kB / 0.5435 GB, free: 9.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.44, allocations: 106.2 kB / 0.5436 GB, free: 9.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.44, allocations: 0 / 0.5436 GB, free: 9.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.4403, allocations: 51.83 kB / 0.5436 GB, free: 9.84 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/0.4412, allocations: 0.838 MB / 0.5444 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005333/0.4417, allocations: 222.9 kB / 0.5447 GB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4418, allocations: 0 / 0.5447 GB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.4421, allocations: 194.6 kB / 0.5448 GB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.4423, allocations: 8 kB / 0.5448 GB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.444, allocations: 0.9485 MB / 0.5458 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.4443, allocations: 0.716 MB / 0.5465 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.4443, allocations: 8.672 kB / 0.5465 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.4444, allocations: 35.48 kB / 0.5465 GB, free: 6.738 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4444, allocations: 0 / 0.5465 GB, free: 6.738 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.4621, allocations: 3.147 MB / 0.5496 GB, free: 3.703 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.4623, allocations: 174.7 kB / 0.5498 GB, free: 3.469 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.227, allocations: 0 / 0.5498 GB, free: 3.469 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)