Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06883/0.06883, allocations: 8.228 MB / 311.6 MB, free: 2.145 MB / 238.1 MB " [Timeout remaining time 180] 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.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 67.89 kB / 434 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3219, allocations: 54.35 MB / 488.3 MB, free: 27.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002803/0.3247, allocations: 1.792 MB / 490.1 MB, free: 26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3264, allocations: 1.586 MB / 491.7 MB, free: 24.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3265, allocations: 4.344 kB / 491.7 MB, free: 24.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.3269, allocations: 137.1 kB / 491.8 MB, free: 24.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3273, allocations: 154 kB / 492 MB, free: 24.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3288, allocations: 1.068 MB / 493 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.3292, allocations: 283.9 kB / 493.3 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3293, allocations: 54.72 kB / 493.4 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.3294, allocations: 119.8 kB / 493.5 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3295, allocations: 143 kB / 493.6 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.3296, allocations: 20.53 kB / 493.7 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.33, allocations: 246.1 kB / 493.9 MB, free: 23.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.33, allocations: 53.11 kB / 493.9 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3301, allocations: 138.7 kB / 494.1 MB, free: 23.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.3306, allocations: 457.8 kB / 494.5 MB, free: 22.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3306, allocations: 0 / 494.5 MB, free: 22.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3306, allocations: 5.938 kB / 494.5 MB, free: 22.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3306, allocations: 0 / 494.5 MB, free: 22.81 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003543/0.3342, allocations: 1.118 MB / 495.7 MB, free: 22.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3342, allocations: 13.64 kB / 495.7 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.3343, allocations: 49.55 kB / 495.7 MB, free: 22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.3344, allocations: 36.59 kB / 495.8 MB, free: 21.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3346, allocations: 274 kB / 496 MB, free: 21.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3346, allocations: 17.19 kB / 496 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.3347, allocations: 28.38 kB / 496.1 MB, free: 21.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.3352, allocations: 345.2 kB / 496.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3352, allocations: 5.156 kB / 496.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.3353, allocations: 10.59 kB / 496.4 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.3353, allocations: 4.25 kB / 496.4 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.3357, allocations: 293.8 kB / 496.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3373, allocations: 1.346 MB / 498.1 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.338, allocations: 353.2 kB / 498.4 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3383, allocations: 153.2 kB / 498.5 MB, free: 19.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.3389, allocations: 0.6923 MB / 499.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3389, allocations: 40.23 kB / 499.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.3389, allocations: 1.438 kB / 499.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0032/0.3421, allocations: 1.119 MB / 0.4887 GB, free: 18.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3422, allocations: 110.4 kB / 0.4888 GB, free: 18.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3424, allocations: 231.2 kB / 0.489 GB, free: 17.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3424, allocations: 32.36 kB / 0.489 GB, free: 17.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.3425, allocations: 147.6 kB / 0.4892 GB, free: 17.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3425, allocations: 106 kB / 0.4893 GB, free: 17.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3427, allocations: 83.08 kB / 0.4893 GB, free: 17.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.3427, allocations: 336.7 kB / 0.4897 GB, free: 17.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.343, allocations: 192.6 kB / 0.4899 GB, free: 17.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.3434, allocations: 266 kB / 0.4901 GB, free: 17.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.344, allocations: 476 kB / 0.4906 GB, free: 16.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.344, allocations: 0 / 0.4906 GB, free: 16.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001885/0.3458, allocations: 0.8093 MB / 0.4914 GB, free: 16.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3459, allocations: 6 kB / 0.4914 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3459, allocations: 1.281 kB / 0.4914 GB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.3477, allocations: 418.1 kB / 0.4918 GB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.348, allocations: 73.39 kB / 0.4918 GB, free: 16.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.352, allocations: 4.026 MB / 0.4958 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3523, allocations: 49.56 kB / 0.4958 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3523, allocations: 15.38 kB / 0.4958 GB, free: 12.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.3525, allocations: 151.2 kB / 0.496 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3525, allocations: 23.2 kB / 0.496 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.3543, allocations: 0.7246 MB / 0.4967 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3543, allocations: 6.938 kB / 0.4967 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3543, allocations: 6.75 kB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3543, allocations: 0 / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.3547, allocations: 417.2 kB / 0.4971 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3547, allocations: 3.938 kB / 0.4971 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3548, allocations: 39.55 kB / 0.4971 GB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.3566, allocations: 407.8 kB / 0.4975 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3566, allocations: 6.5 kB / 0.4975 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.3602, allocations: 4.021 MB / 0.5015 GB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3602, allocations: 400 / 0.5015 GB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3619, allocations: 0.7607 MB / 0.5022 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.362, allocations: 111.7 kB / 0.5023 GB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.362, allocations: 6.75 kB / 0.5023 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3622, allocations: 16.08 kB / 0.5023 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.3623, allocations: 24.34 kB / 0.5024 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.3623, allocations: 6.875 kB / 0.5024 GB, free: 6.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.3624, allocations: 161.7 kB / 0.5025 GB, free: 6.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 3.938 kB / 0.5025 GB, free: 6.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005339/0.363, allocations: 124.3 kB / 0.5026 GB, free: 6.723 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.3649, allocations: 1.337 MB / 0.504 GB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.3663, allocations: 0.7242 MB / 0.5047 GB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3663, allocations: 1.406 kB / 0.5047 GB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.3673, allocations: 0.4939 MB / 0.5051 GB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3676, allocations: 27.52 kB / 0.5052 GB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.3733, allocations: 3.711 MB / 0.5088 GB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3735, allocations: 0.7628 MB / 0.5095 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3736, allocations: 35.08 kB / 0.5096 GB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3737, allocations: 89.73 kB / 0.5097 GB, free: 1.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3737, allocations: 1.062 kB / 0.5097 GB, free: 1.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/0.4229, allocations: 9.183 MB / 0.5186 GB, free: 8.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/9.971, allocations: 26.78 kB / 0.5187 GB, free: 8.484 MB / 382.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.374139570165426] Failed to read output from testmodel.py, exit status != 0: 10.057076928205788 10.079999804 9.745007582 Calling exit ...