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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107 kB / 16.03 MB, free: 6.363 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.001435/0.001435, allocations: 186.1 kB / 16.95 MB, free: 6.176 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.292/1.292, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04155/0.04155, allocations: 8.098 MB / 298.9 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.89 kB / 361.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1807, allocations: 51.52 MB / 412.8 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001936/0.1827, allocations: 1.328 MB / 414.2 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.1836, allocations: 1.232 MB / 415.4 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.1837, allocations: 0 / 415.4 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.184, allocations: 99.66 kB / 415.5 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1841, allocations: 39.75 kB / 415.5 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.185, allocations: 0.7082 MB / 416.2 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1852, allocations: 127.4 kB / 416.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1853, allocations: 65.33 kB / 416.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.1854, allocations: 55.8 kB / 416.5 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.1854, allocations: 59.77 kB / 416.5 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1854, allocations: 12 kB / 416.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1856, allocations: 151.8 kB / 416.7 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1857, allocations: 31.86 kB / 416.7 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1857, allocations: 59.73 kB / 416.8 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1859, allocations: 261.5 kB / 417 MB, free: 21.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.186, allocations: 3.938 kB / 417 MB, free: 21.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.186, allocations: 0 / 417 MB, free: 21.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.186, allocations: 3.938 kB / 417 MB, free: 21.41 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001036/0.187, allocations: 0.5536 MB / 417.6 MB, free: 20.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.187, allocations: 11.89 kB / 417.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1871, allocations: 42.73 kB / 417.7 MB, free: 20.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.1871, allocations: 16.75 kB / 417.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1873, allocations: 216.1 kB / 417.9 MB, free: 20.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1873, allocations: 8.375 kB / 417.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1873, allocations: 16.38 kB / 417.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1875, allocations: 154.2 kB / 418.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1875, allocations: 3.938 kB / 418.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1876, allocations: 4 kB / 418.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1876, allocations: 4 kB / 418.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1877, allocations: 116 kB / 418.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.1883, allocations: 0.5156 MB / 418.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1891, allocations: 154.5 kB / 418.8 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.1892, allocations: 48.78 kB / 418.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.1893, allocations: 81.11 kB / 419 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.1893, allocations: 38.75 kB / 419 MB, free: 19.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1893, allocations: 3.938 kB / 419 MB, free: 19.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001012/0.1903, allocations: 347.3 kB / 419.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.1904, allocations: 59.28 kB / 419.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.1904, allocations: 140.7 kB / 419.6 MB, free: 18.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1904, allocations: 25.7 kB / 419.6 MB, free: 18.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.1905, allocations: 124.1 kB / 419.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.1905, allocations: 31.55 kB / 419.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1906, allocations: 29.7 kB / 419.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.1906, allocations: 318.8 kB / 420.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.1907, allocations: 35.98 kB / 420.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1907, allocations: 69.64 kB / 420.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1909, allocations: 105.7 kB / 420.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1909, allocations: 0 / 420.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004262/0.1913, allocations: 210.5 kB / 420.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1913, allocations: 6.656 kB / 420.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1913, allocations: 8.031 kB / 420.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.1917, allocations: 80.7 kB / 420.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.1918, allocations: 15.94 kB / 420.6 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.193, allocations: 1.648 MB / 422.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.1931, allocations: 7.891 kB / 422.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1931, allocations: 8 kB / 422.3 MB, free: 15.77 MB / 302.1 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.1932, allocations: 121.8 kB / 422.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1932, allocations: 7.906 kB / 422.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.1937, allocations: 206.7 kB / 422.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1937, allocations: 4 kB / 422.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1937, allocations: 0 / 422.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1937, allocations: 0 / 422.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1939, allocations: 237.4 kB / 422.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1939, allocations: 0 / 422.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1939, allocations: 20.08 kB / 422.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.1943, allocations: 76.75 kB / 422.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1943, allocations: 4 kB / 422.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1954, allocations: 1.633 MB / 424.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1954, allocations: 4.031 kB / 424.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.1958, allocations: 276.2 kB / 424.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.1958, allocations: 88.94 kB / 424.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1959, allocations: 8 kB / 424.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.196, allocations: 0 / 424.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.196, allocations: 7.984 kB / 424.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.196, allocations: 8 kB / 424.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.196, allocations: 95.27 kB / 425 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1961, allocations: 3.938 kB / 425 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1963, allocations: 47.94 kB / 425.1 MB, free: 12.7 MB / 302.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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000585/0.1969, allocations: 0.8224 MB / 425.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.1975, allocations: 266.7 kB / 426.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1975, allocations: 0 / 426.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.1978, allocations: 203.2 kB / 426.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.198, allocations: 7.094 kB / 426.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1997, allocations: 1.831 MB / 428.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1998, allocations: 0.7119 MB / 428.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.1999, allocations: 16.59 kB / 428.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1999, allocations: 39.42 kB / 429 MB, free: 8.637 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1999, allocations: 0 / 429 MB, free: 8.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/0.4117, allocations: 3.405 MB / 432.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000127/0.4118, allocations: 194.9 kB / 432.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.189, allocations: 0 / 432.6 MB, free: 5.082 MB / 302.1 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/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)