Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.conf.json 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/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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 104.2 kB / 16.02 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 198.2 kB / 16.95 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03968/0.03968, allocations: 8.095 MB / 298.9 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 361.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1665, allocations: 51.53 MB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.00272/0.1692, allocations: 2.851 MB / 415.7 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1706, allocations: 1.641 MB / 417.3 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1707, allocations: 8 kB / 417.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.171, allocations: 151.3 kB / 417.5 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.1714, allocations: 210.9 kB / 417.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.1729, allocations: 1.178 MB / 418.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1732, allocations: 485.7 kB / 419.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.1734, allocations: 171.3 kB / 419.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1736, allocations: 203.3 kB / 419.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1738, allocations: 262.9 kB / 420 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.1738, allocations: 40 kB / 420 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1741, allocations: 275.8 kB / 420.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1742, allocations: 99.61 kB / 420.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1743, allocations: 238.8 kB / 420.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.1748, allocations: 0.6776 MB / 421.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1748, allocations: 0 / 421.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1748, allocations: 0 / 421.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1748, allocations: 0 / 421.3 MB, free: 17.25 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.004785/0.1796, allocations: 1.509 MB / 422.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1796, allocations: 15.89 kB / 422.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.1797, allocations: 78.72 kB / 422.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.1798, allocations: 52.38 kB / 422.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1801, allocations: 343.5 kB / 423.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1801, allocations: 33.31 kB / 423.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.1802, allocations: 44.38 kB / 423.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.1808, allocations: 0.5815 MB / 423.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1809, allocations: 7.938 kB / 423.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.1809, allocations: 16 kB / 424 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1809, allocations: 8 kB / 424 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.1815, allocations: 0.5349 MB / 424.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.1836, allocations: 2.273 MB / 426.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/0.1845, allocations: 0.8425 MB / 427.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.1848, allocations: 326.1 kB / 427.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/0.1849, allocations: 16.36 kB / 428 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1849, allocations: 46.94 kB / 428 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.523e-06/0.1849, allocations: 0 / 428 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006391/0.1913, allocations: 2.038 MB / 430 MB, free: 8.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1914, allocations: 107.2 kB / 430.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1916, allocations: 274.9 kB / 430.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1916, allocations: 37.7 kB / 430.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.1917, allocations: 185.2 kB / 430.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.1918, allocations: 181.3 kB / 430.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.192, allocations: 118.3 kB / 430.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.192, allocations: 346.8 kB / 431.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1924, allocations: 321.2 kB / 431.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.1928, allocations: 381.7 kB / 431.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.1936, allocations: 0.7173 MB / 432.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1936, allocations: 3.938 kB / 432.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003163/0.1967, allocations: 1.34 MB / 434 MB, free: 4.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1968, allocations: 10.34 kB / 434 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1968, allocations: 3.938 kB / 434 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003348/0.2001, allocations: 0.7812 MB / 434.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.2005, allocations: 103.9 kB / 434.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.2066, allocations: 4.184 MB / 439.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.207, allocations: 63.36 kB / 439.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.207, allocations: 27.94 kB / 439.2 MB, free: 14.7 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.2072, allocations: 169.7 kB / 439.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.2073, allocations: 39.53 kB / 439.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.2108, allocations: 1.315 MB / 440.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2109, allocations: 4 kB / 440.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2109, allocations: 4 kB / 440.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2109, allocations: 3.984 kB / 440.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.2148, allocations: 1.981 MB / 442.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2148, allocations: 0 / 442.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2151, allocations: 75.91 kB / 442.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.2185, allocations: 0.7578 MB / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.2185, allocations: 12 kB / 443.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006327/0.2249, allocations: 4.128 MB / 447.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2249, allocations: 11.88 kB / 447.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.2281, allocations: 1.308 MB / 449 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.2282, allocations: 124.4 kB / 449.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.2283, allocations: 8 kB / 449.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.2287, allocations: 27.98 kB / 449.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2288, allocations: 44.5 kB / 449.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.2288, allocations: 20 kB / 449.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.229, allocations: 190 kB / 449.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.229, allocations: 0 / 449.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.2295, allocations: 203.8 kB / 449.6 MB, free: 4.023 MB / 318.1 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003404/0.233, allocations: 1.868 MB / 451.5 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.2354, allocations: 1.147 MB / 452.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2354, allocations: 4 kB / 452.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.2371, allocations: 0.7202 MB / 453.3 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2374, allocations: 41.67 kB / 453.4 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.2468, allocations: 5.689 MB / 459.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2472, allocations: 0.8256 MB / 459.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.2474, allocations: 63.23 kB / 459.9 MB, free: 9.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2476, allocations: 143.4 kB / 460.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2476, allocations: 0 / 460.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.722/0.9696, allocations: 15.7 MB / 475.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.9699, allocations: 272.1 kB / 476 MB, free: 9.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/3.051, allocations: 0 / 476 MB, free: 9.551 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)