Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001597/0.001597, allocations: 109.4 kB / 17.17 MB, free: 5.867 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.001827/0.001827, allocations: 195.6 kB / 20.12 MB, free: 2.93 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.407/1.407, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.0524/0.0524, allocations: 8.227 MB / 311.6 MB, free: 2.121 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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.88 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2443, allocations: 54.35 MB / 488.3 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002213/0.2465, allocations: 1.401 MB / 489.7 MB, free: 26.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2479, allocations: 1.517 MB / 491.2 MB, free: 25.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.248, allocations: 3.594 kB / 491.2 MB, free: 25.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.2483, allocations: 119.7 kB / 491.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.2485, allocations: 89.97 kB / 491.4 MB, free: 25.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.2497, allocations: 0.9169 MB / 492.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.25, allocations: 199 kB / 492.5 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2501, allocations: 42.75 kB / 492.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.2502, allocations: 86.39 kB / 492.7 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2503, allocations: 103.8 kB / 492.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2503, allocations: 15.44 kB / 492.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2506, allocations: 200.7 kB / 493 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2507, allocations: 41.91 kB / 493 MB, free: 23.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.2507, allocations: 94.97 kB / 493.1 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.2511, allocations: 347.9 kB / 493.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2511, allocations: 0 / 493.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2511, allocations: 0 / 493.5 MB, free: 23.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2511, allocations: 1.375 kB / 493.5 MB, free: 23.69 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001601/0.2527, allocations: 0.6869 MB / 494.1 MB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2528, allocations: 13.48 kB / 494.2 MB, free: 23.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.2528, allocations: 48.23 kB / 494.2 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.2529, allocations: 18.47 kB / 494.2 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2531, allocations: 244.4 kB / 494.5 MB, free: 22.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2531, allocations: 15.53 kB / 494.5 MB, free: 22.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.2531, allocations: 15.38 kB / 494.5 MB, free: 22.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2534, allocations: 209.4 kB / 494.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2534, allocations: 3.938 kB / 494.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2534, allocations: 6.75 kB / 494.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2534, allocations: 2.75 kB / 494.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.2537, allocations: 206.5 kB / 494.9 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.2547, allocations: 0.8471 MB / 495.8 MB, free: 21.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.2553, allocations: 346.2 kB / 496.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2554, allocations: 119.5 kB / 496.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.2554, allocations: 11.55 kB / 496.2 MB, free: 21.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2555, allocations: 41.09 kB / 496.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.2555, allocations: 0 / 496.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001862/0.2573, allocations: 0.7152 MB / 497 MB, free: 20.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.2574, allocations: 54.34 kB / 497 MB, free: 20.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2575, allocations: 178.8 kB / 497.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.2575, allocations: 31.14 kB / 497.2 MB, free: 20.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.2576, allocations: 127.3 kB / 497.4 MB, free: 20.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.2576, allocations: 79.67 kB / 497.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.2577, allocations: 57.91 kB / 497.5 MB, free: 20.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.332e-05/0.2577, allocations: 333.9 kB / 497.8 MB, free: 20.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2579, allocations: 116.7 kB / 497.9 MB, free: 20.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2581, allocations: 131.2 kB / 498.1 MB, free: 19.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.2584, allocations: 280 kB / 498.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2584, allocations: 0 / 498.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008905/0.2593, allocations: 483.3 kB / 498.8 MB, free: 19.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2593, allocations: 9.094 kB / 498.8 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2593, allocations: 1.375 kB / 498.8 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.26, allocations: 181.4 kB / 499 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2602, allocations: 39.91 kB / 499 MB, free: 19.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.2626, allocations: 2.347 MB / 0.4896 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2627, allocations: 20.44 kB / 0.4897 GB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.2628, allocations: 13.94 kB / 0.4897 GB, free: 17.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.2629, allocations: 138.1 kB / 0.4898 GB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2629, allocations: 16.12 kB / 0.4898 GB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/0.2638, allocations: 452.2 kB / 0.4902 GB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2638, allocations: 3.406 kB / 0.4903 GB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2638, allocations: 7.984 kB / 0.4903 GB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2638, allocations: 1.125 kB / 0.4903 GB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.265, allocations: 0.8459 MB / 0.4911 GB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.265, allocations: 0 / 0.4911 GB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.265, allocations: 27.3 kB / 0.4911 GB, free: 16.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006247/0.2657, allocations: 173.2 kB / 0.4913 GB, free: 16.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2657, allocations: 13.83 kB / 0.4913 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.268, allocations: 2.325 MB / 0.4936 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.268, allocations: 1.156 kB / 0.4936 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.2689, allocations: 0.5229 MB / 0.4941 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.2689, allocations: 98.42 kB / 0.4942 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2689, allocations: 5.156 kB / 0.4942 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2691, allocations: 12.52 kB / 0.4942 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.2691, allocations: 13.11 kB / 0.4942 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2692, allocations: 17.55 kB / 0.4942 GB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.2693, allocations: 134.9 kB / 0.4943 GB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2693, allocations: 0 / 0.4943 GB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.2697, allocations: 83.69 kB / 0.4944 GB, free: 13.52 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.2707, allocations: 1.064 MB / 0.4955 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.2716, allocations: 475.4 kB / 0.4959 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2716, allocations: 1.312 kB / 0.4959 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.2722, allocations: 321.3 kB / 0.4962 GB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2725, allocations: 27.2 kB / 0.4962 GB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.2759, allocations: 2.713 MB / 0.4989 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.2761, allocations: 0.7386 MB / 0.4996 GB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.2762, allocations: 19.47 kB / 0.4996 GB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.2763, allocations: 53.14 kB / 0.4997 GB, free: 9.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2763, allocations: 0 / 0.4997 GB, free: 9.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3058, allocations: 7.069 MB / 0.5066 GB, free: 5.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.62, allocations: 3.938 kB / 0.5066 GB, free: 5.344 MB / 366.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.034529310185462] Failed to read output from testmodel.py, exit status != 0: 11.70480576204136 11.717483858 11.462400428 Calling exit ...