Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.003827/0.003827, allocations: 93.11 kB / 15.91 MB, free: 6.277 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.0009566/0.0009566, allocations: 199.1 kB / 16.84 MB, free: 6.191 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.236/1.236, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1417/0.1417, allocations: 8.087 MB / 298.7 MB, free: 2.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 64.08 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08084, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002187/0.08305, allocations: 1.326 MB / 414 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.08432, allocations: 1.244 MB / 415.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.08438, allocations: 0 / 415.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.08465, allocations: 95.66 kB / 415.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.0848, allocations: 51.75 kB / 415.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.0859, allocations: 0.7083 MB / 416.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.08607, allocations: 131.4 kB / 416.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.08619, allocations: 57.06 kB / 416.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.08624, allocations: 47.8 kB / 416.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.08633, allocations: 71.62 kB / 416.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.08636, allocations: 12 kB / 416.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.08659, allocations: 135.9 kB / 416.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.08662, allocations: 27.91 kB / 416.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.08669, allocations: 63.67 kB / 416.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.08697, allocations: 251.5 kB / 416.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.08698, allocations: 4 kB / 416.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.08699, allocations: 0 / 416.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.087, allocations: 0 / 416.9 MB, free: 5.859 MB / 350.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.001151/0.08815, allocations: 0.5614 MB / 417.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.08819, allocations: 8.031 kB / 417.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.08825, allocations: 46.73 kB / 417.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.08829, allocations: 16.75 kB / 417.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.08845, allocations: 200.2 kB / 417.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.08847, allocations: 12.38 kB / 417.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.0885, allocations: 12.38 kB / 417.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.08875, allocations: 146.2 kB / 417.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.08877, allocations: 3.938 kB / 417.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.0888, allocations: 12 kB / 417.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.08881, allocations: 7.938 kB / 417.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.08898, allocations: 111.9 kB / 418 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.08967, allocations: 0.5273 MB / 418.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.09051, allocations: 150.5 kB / 418.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.09059, allocations: 40.97 kB / 418.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.0907, allocations: 93.03 kB / 418.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.09073, allocations: 38.56 kB / 418.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.09074, allocations: 4 kB / 418.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001122/0.09187, allocations: 343.6 kB / 419.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.09191, allocations: 59.34 kB / 419.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.092, allocations: 127.9 kB / 419.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.09203, allocations: 33.73 kB / 419.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.09209, allocations: 124 kB / 419.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.09212, allocations: 39.55 kB / 419.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.09218, allocations: 33.7 kB / 419.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.09227, allocations: 318.8 kB / 419.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.09235, allocations: 36 kB / 419.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/0.09244, allocations: 65.69 kB / 420 MB, free: 2.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.09261, allocations: 97.72 kB / 420.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09262, allocations: 4 kB / 420.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004961/0.09312, allocations: 218 kB / 420.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.09314, allocations: 4 kB / 420.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.09315, allocations: 0 / 420.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.09357, allocations: 80.8 kB / 420.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.09365, allocations: 15.98 kB / 420.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.09513, allocations: 1.523 MB / 421.9 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.09522, allocations: 19.81 kB / 421.9 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.09525, allocations: 7.984 kB / 421.9 MB, free: 348 kB / 350.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 9.328e-05/0.09534, allocations: 121.9 kB / 422.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.09538, allocations: 7.906 kB / 422.1 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.09591, allocations: 202.6 kB / 422.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.09593, allocations: 4.047 kB / 422.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.09594, allocations: 8 kB / 422.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.09595, allocations: 0 / 422.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.09616, allocations: 233.4 kB / 422.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.09617, allocations: 0 / 422.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.09622, allocations: 11.94 kB / 422.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/0.09659, allocations: 76.77 kB / 422.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.09661, allocations: 0 / 422.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.09799, allocations: 1.523 MB / 424.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.098, allocations: 0 / 424.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.09848, allocations: 280.1 kB / 424.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.09853, allocations: 88.95 kB / 424.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.09855, allocations: 4.062 kB / 424.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.09865, allocations: 8 kB / 424.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.09869, allocations: 7.984 kB / 424.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.0987, allocations: 0 / 424.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.135e-05/0.09876, allocations: 99.27 kB / 424.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09876, allocations: 0 / 424.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.09906, allocations: 55.83 kB / 424.7 MB, free: 13.39 MB / 366.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.0007354/0.0998, allocations: 0.8185 MB / 425.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.1004, allocations: 258.8 kB / 425.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1004, allocations: 3.938 kB / 425.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.1008, allocations: 207.2 kB / 425.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.1011, allocations: 13.91 kB / 425.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1031, allocations: 1.821 MB / 427.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1033, allocations: 0.7082 MB / 428.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.1034, allocations: 20.7 kB / 428.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.1035, allocations: 39.42 kB / 428.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1035, allocations: 0 / 428.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.1164, allocations: 3.291 MB / 431.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.1166, allocations: 189.9 kB / 432 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.742, allocations: 0 / 432 MB, free: 5.863 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)