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.001132/0.001132, allocations: 102.5 kB / 16.31 MB, free: 6.359 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.001141/0.001141, allocations: 189.8 kB / 17.24 MB, free: 5.875 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0445/0.0445, allocations: 8.096 MB / 299.2 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 361.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1897, allocations: 51.51 MB / 413.3 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002162/0.1919, allocations: 1.275 MB / 414.6 MB, free: 24.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.193, allocations: 1.236 MB / 415.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.193, allocations: 0 / 415.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1933, allocations: 119.5 kB / 416 MB, free: 22.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1935, allocations: 55.61 kB / 416 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1945, allocations: 0.7311 MB / 416.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1947, allocations: 135.4 kB / 416.9 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1948, allocations: 65.34 kB / 417 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.1949, allocations: 59.78 kB / 417 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.195, allocations: 59.77 kB / 417.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.195, allocations: 12 kB / 417.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.1952, allocations: 147.8 kB / 417.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1952, allocations: 35.84 kB / 417.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.1953, allocations: 63.67 kB / 417.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.1955, allocations: 257.5 kB / 417.6 MB, free: 21.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1956, allocations: 4 kB / 417.6 MB, free: 21.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1956, allocations: 0 / 417.6 MB, free: 21.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1956, allocations: 0 / 417.6 MB, free: 21.29 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.001128/0.1967, allocations: 0.5536 MB / 418.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1967, allocations: 11.89 kB / 418.1 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1968, allocations: 46.73 kB / 418.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1968, allocations: 16.75 kB / 418.2 MB, free: 20.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.197, allocations: 212.2 kB / 418.4 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.197, allocations: 8.375 kB / 418.4 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.197, allocations: 12.38 kB / 418.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1973, allocations: 154.2 kB / 418.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1973, allocations: 3.938 kB / 418.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1973, allocations: 8 kB / 418.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1973, allocations: 4 kB / 418.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1975, allocations: 116 kB / 418.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1981, allocations: 0.5195 MB / 419.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.1989, allocations: 146.5 kB / 419.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.199, allocations: 44.78 kB / 419.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.593e-05/0.1991, allocations: 81.11 kB / 419.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.1991, allocations: 42.69 kB / 419.5 MB, free: 19.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1991, allocations: 11.88 kB / 419.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001058/0.2002, allocations: 347.3 kB / 419.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.2002, allocations: 55.34 kB / 419.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.2003, allocations: 136.9 kB / 420.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2003, allocations: 25.7 kB / 420.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.2004, allocations: 124.1 kB / 420.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2004, allocations: 39.53 kB / 420.3 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.2005, allocations: 29.7 kB / 420.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.2005, allocations: 318.8 kB / 420.6 MB, free: 18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.514e-05/0.2006, allocations: 35.98 kB / 420.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.2006, allocations: 61.64 kB / 420.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2008, allocations: 109.7 kB / 420.8 MB, free: 17.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2008, allocations: 0 / 420.8 MB, free: 17.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004441/0.2012, allocations: 214.1 kB / 421 MB, free: 17.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2013, allocations: 4 kB / 421 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2013, allocations: 4 kB / 421 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.2017, allocations: 84.73 kB / 421.1 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.2018, allocations: 12 kB / 421.1 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.2031, allocations: 1.64 MB / 422.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.2032, allocations: 11.95 kB / 422.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2032, allocations: 8 kB / 422.8 MB, free: 15.65 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 7.416e-05/0.2033, allocations: 122.6 kB / 422.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2033, allocations: 7.906 kB / 422.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.2038, allocations: 210.6 kB / 423.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2038, allocations: 4 kB / 423.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2038, allocations: 3.938 kB / 423.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2038, allocations: 0 / 423.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.204, allocations: 225.4 kB / 423.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.204, allocations: 4 kB / 423.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.204, allocations: 15.94 kB / 423.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.2044, allocations: 80.89 kB / 423.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2044, allocations: 8 kB / 423.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.2056, allocations: 1.629 MB / 425.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2056, allocations: 4.375 kB / 425.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.206, allocations: 272.1 kB / 425.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.206, allocations: 88.94 kB / 425.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.2061, allocations: 8.062 kB / 425.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2062, allocations: 7.938 kB / 425.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.2062, allocations: 7.984 kB / 425.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2062, allocations: 11.94 kB / 425.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.2063, allocations: 95.27 kB / 425.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2063, allocations: 0 / 425.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.2066, allocations: 43.94 kB / 425.6 MB, free: 12.57 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.0006304/0.2072, allocations: 0.834 MB / 426.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.2078, allocations: 262.7 kB / 426.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2078, allocations: 0 / 426.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.2082, allocations: 206.7 kB / 426.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2084, allocations: 4.875 kB / 426.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2102, allocations: 1.777 MB / 428.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2103, allocations: 0.708 MB / 429.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2103, allocations: 16.66 kB / 429.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.2104, allocations: 43.42 kB / 429.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2104, allocations: 0 / 429.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.2307, allocations: 3.47 MB / 432.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.88, allocations: 4.594 kB / 432.9 MB, free: 5.145 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)