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.001574/0.001574, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.389/1.389, allocations: 221.5 MB / 230 MB, free: 7.516 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.000999/0.0009994, allocations: 99.17 kB / 280.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04936/0.04936, allocations: 8.092 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.957e-05, allocations: 1.375 kB / 398.6 MB, free: 49.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 52.52 MB / 451.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.2292, allocations: 77.78 MB / 0.5165 GB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.2295, allocations: 63.97 kB / 0.5165 GB, free: 7.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.2412, allocations: 4.792 MB / 0.5212 GB, free: 2.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2412, allocations: 3.938 kB / 0.5212 GB, free: 2.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.2412, allocations: 4 kB / 0.5212 GB, free: 2.469 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.0007704/0.242, allocations: 474 kB / 0.5217 GB, free: 1.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.242, allocations: 11.98 kB / 0.5217 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2421, allocations: 15.86 kB / 0.5217 GB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.2424, allocations: 212.5 kB / 0.5219 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2424, allocations: 4 kB / 0.5219 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2424, allocations: 8 kB / 0.5219 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002285/0.2427, allocations: 104 kB / 0.522 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.2429, allocations: 131.5 kB / 0.5221 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2429, allocations: 0 / 0.5221 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.243, allocations: 3.984 kB / 0.5221 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.243, allocations: 11.95 kB / 0.5221 GB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.2438, allocations: 0.4928 MB / 0.5226 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.2446, allocations: 146.5 kB / 0.5228 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.2446, allocations: 40.84 kB / 0.5228 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.2448, allocations: 89.09 kB / 0.5229 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2448, allocations: 30.56 kB / 0.5229 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2448, allocations: 0 / 0.5229 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006153/0.2455, allocations: 174.4 kB / 0.5231 GB, free: 388 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2455, allocations: 55.34 kB / 0.5231 GB, free: 320 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2456, allocations: 124.9 kB / 0.5232 GB, free: 188 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2457, allocations: 25.7 kB / 0.5233 GB, free: 156 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2457, allocations: 123.6 kB / 0.5234 GB, free: 28 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2362/0.4819, allocations: 29.09 kB / 0.5234 GB, free: 79.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.482, allocations: 0 / 0.5234 GB, free: 79.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.4821, allocations: 316.2 kB / 0.5237 GB, free: 78.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.4822, allocations: 27.48 kB / 0.5237 GB, free: 78.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.4823, allocations: 41.97 kB / 0.5238 GB, free: 78.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.4825, allocations: 38 kB / 0.5238 GB, free: 78.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4825, allocations: 1.125 kB / 0.5238 GB, free: 78.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006084/0.4831, allocations: 174.1 kB / 0.524 GB, free: 78.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4831, allocations: 6.219 kB / 0.524 GB, free: 78.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4831, allocations: 0.5 kB / 0.524 GB, free: 78.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.4836, allocations: 81.44 kB / 0.5241 GB, free: 78.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.4836, allocations: 4.844 kB / 0.5241 GB, free: 78.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.485, allocations: 1.471 MB / 0.5255 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.4851, allocations: 6.656 kB / 0.5255 GB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.4851, allocations: 8.156 kB / 0.5255 GB, free: 77.59 MB / 362.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 () * 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 6.404e-05/0.4851, allocations: 101 kB / 0.5256 GB, free: 77.48 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004756/0.4856, allocations: 177.6 kB / 0.5258 GB, free: 77.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.4857, allocations: 11.78 kB / 0.5258 GB, free: 77.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.4862, allocations: 201.9 kB / 0.526 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4863, allocations: 1.406 kB / 0.526 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4863, allocations: 5.219 kB / 0.526 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4863, allocations: 0 / 0.526 GB, free: 77.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4865, allocations: 197.3 kB / 0.5262 GB, free: 77.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4865, allocations: 1.062 kB / 0.5262 GB, free: 77.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.4866, allocations: 11.69 kB / 0.5262 GB, free: 77.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003536/0.4869, allocations: 78.28 kB / 0.5263 GB, free: 77.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.487, allocations: 1.969 kB / 0.5263 GB, free: 77.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.4882, allocations: 1.463 MB / 0.5277 GB, free: 76.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4882, allocations: 3.75 kB / 0.5277 GB, free: 76.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.4887, allocations: 281.8 kB / 0.528 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.4888, allocations: 84.41 kB / 0.5281 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.4888, allocations: 1.922 kB / 0.5281 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.4889, allocations: 1.406 kB / 0.5281 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4889, allocations: 6.625 kB / 0.5281 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4889, allocations: 4.094 kB / 0.5281 GB, free: 75.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.489, allocations: 107 kB / 0.5282 GB, free: 75.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.489, allocations: 0 / 0.5282 GB, free: 75.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.4893, allocations: 40.95 kB / 0.5282 GB, free: 75.69 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 (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.0007784/0.4901, allocations: 0.8268 MB / 0.529 GB, free: 75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.4906, allocations: 206.2 kB / 0.5292 GB, free: 74.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4906, allocations: 5.031 kB / 0.5292 GB, free: 74.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.491, allocations: 178.5 kB / 0.5294 GB, free: 74.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.4911, allocations: 9.594 kB / 0.5294 GB, free: 74.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.4916, allocations: 186 kB / 0.5296 GB, free: 74.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4918, allocations: 0.7196 MB / 0.5303 GB, free: 73.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.4919, allocations: 10.48 kB / 0.5303 GB, free: 73.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.492, allocations: 39.62 kB / 0.5303 GB, free: 73.95 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.492, allocations: 0 / 0.5303 GB, free: 73.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.5188, allocations: 2.598 MB / 0.5329 GB, free: 73.81 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.519, allocations: 114.4 kB / 0.533 GB, free: 73.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.133, allocations: 0 / 0.533 GB, free: 73.62 MB / 362.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)