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.0008574/0.0008575, allocations: 97.48 kB / 16.06 MB, free: 36 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008594/0.0008597, allocations: 182.5 kB / 16.96 MB, free: 6.895 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.294/1.294, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1659/0.1659, allocations: 8.093 MB / 300.2 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 363.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08603, allocations: 52.52 MB / 416.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001459/0.08752, allocations: 0.9718 MB / 417.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.08885, allocations: 1.22 MB / 418.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.08891, allocations: 4 kB / 418.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.08916, allocations: 91.66 kB / 418.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.08931, allocations: 59.67 kB / 418.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.09044, allocations: 0.6967 MB / 419.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.09063, allocations: 131.4 kB / 419.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.09076, allocations: 49.08 kB / 419.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.09084, allocations: 51.78 kB / 419.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.09092, allocations: 51.77 kB / 419.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.09095, allocations: 12 kB / 419.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.09117, allocations: 135.8 kB / 419.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.09121, allocations: 23.86 kB / 419.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.09128, allocations: 81.44 kB / 419.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.09156, allocations: 255.4 kB / 419.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.09158, allocations: 0 / 419.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09158, allocations: 0 / 419.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.09159, allocations: 0 / 419.9 MB, free: 4.484 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.001088/0.09268, allocations: 0.5441 MB / 420.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.09272, allocations: 8.031 kB / 420.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.573e-05/0.09278, allocations: 42.75 kB / 420.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.09282, allocations: 24.67 kB / 420.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.093, allocations: 200.2 kB / 420.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.09302, allocations: 16.38 kB / 420.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.09305, allocations: 12.38 kB / 420.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.0933, allocations: 146.2 kB / 420.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.09332, allocations: 7.938 kB / 420.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.09334, allocations: 4 kB / 420.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.09336, allocations: 4 kB / 420.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.09353, allocations: 108 kB / 421 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.09422, allocations: 0.5273 MB / 421.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.09496, allocations: 154.5 kB / 421.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.09505, allocations: 48.78 kB / 421.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.09516, allocations: 81.3 kB / 421.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.09519, allocations: 38.48 kB / 421.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.0952, allocations: 0 / 421.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001054/0.09626, allocations: 351.2 kB / 422.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.0963, allocations: 55.34 kB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.0964, allocations: 133.7 kB / 422.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.09643, allocations: 29.7 kB / 422.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.0965, allocations: 120.1 kB / 422.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.09653, allocations: 31.55 kB / 422.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.09657, allocations: 17.72 kB / 422.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.09668, allocations: 326.8 kB / 422.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.09675, allocations: 35.98 kB / 422.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.09683, allocations: 57.7 kB / 423 MB, free: 1.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.097, allocations: 113.6 kB / 423.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.09701, allocations: 0 / 423.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004691/0.09748, allocations: 206.2 kB / 423.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.09751, allocations: 7.938 kB / 423.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.09752, allocations: 4 kB / 423.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.09792, allocations: 80.8 kB / 423.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.09799, allocations: 12.38 kB / 423.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1718/0.2698, allocations: 1.517 MB / 424.9 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2699, allocations: 18.28 kB / 425 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2699, allocations: 4.125 kB / 425 MB, free: 39.74 MB / 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.841e-05/0.27, allocations: 121.8 kB / 425.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2701, allocations: 8.344 kB / 425.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.2706, allocations: 208.6 kB / 425.3 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2706, allocations: 4.562 kB / 425.3 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2706, allocations: 0 / 425.3 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2706, allocations: 3.875 kB / 425.3 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2708, allocations: 232.6 kB / 425.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2708, allocations: 0 / 425.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.2709, allocations: 10.41 kB / 425.5 MB, free: 39.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.2712, allocations: 80.86 kB / 425.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2712, allocations: 2 kB / 425.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.2724, allocations: 1.523 MB / 427.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2724, allocations: 0 / 427.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.2728, allocations: 281.2 kB / 427.4 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.2728, allocations: 86.97 kB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2729, allocations: 3.875 kB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.273, allocations: 8.219 kB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.273, allocations: 6.75 kB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.273, allocations: 3.938 kB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.273, allocations: 109.8 kB / 427.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.2731, allocations: 0 / 427.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.2734, allocations: 55.56 kB / 427.7 MB, free: 37.82 MB / 350.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.0005961/0.274, allocations: 0.8214 MB / 428.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.2745, allocations: 259.9 kB / 428.8 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2745, allocations: 0 / 428.8 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.2748, allocations: 204.4 kB / 429 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.2751, allocations: 5.281 kB / 429 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2768, allocations: 1.841 MB / 430.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.277, allocations: 0.7087 MB / 431.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.277, allocations: 9.797 kB / 431.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.2771, allocations: 43.78 kB / 431.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2771, allocations: 0 / 431.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/0.4363, allocations: 3.194 MB / 434.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.4366, allocations: 205.7 kB / 435 MB, free: 34.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.124, allocations: 0.9375 kB / 435 MB, free: 34.39 MB / 350.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)