Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.001709/0.001709, allocations: 115.2 kB / 17.17 MB, free: 5.875 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.002094/0.002094, allocations: 196.5 kB / 20.13 MB, free: 2.934 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.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.05334/0.05334, allocations: 8.232 MB / 311.6 MB, free: 2.066 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 75.89 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2579, allocations: 54.35 MB / 488.3 MB, free: 27.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002406/0.2603, allocations: 1.85 MB / 490.2 MB, free: 26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2618, allocations: 1.568 MB / 491.7 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.2619, allocations: 4.781 kB / 491.7 MB, free: 24.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.2622, allocations: 140.8 kB / 491.9 MB, free: 24.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.2624, allocations: 132.5 kB / 492 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2635, allocations: 0.8096 MB / 492.8 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.2638, allocations: 302.9 kB / 493.1 MB, free: 23.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.264, allocations: 82.31 kB / 493.2 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.2641, allocations: 122.6 kB / 493.3 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2642, allocations: 163.5 kB / 493.5 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.2643, allocations: 24.75 kB / 493.5 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.2645, allocations: 172.4 kB / 493.7 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.2646, allocations: 65.33 kB / 493.7 MB, free: 23.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.2647, allocations: 143.2 kB / 493.9 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.2651, allocations: 433.7 kB / 494.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2651, allocations: 0 / 494.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2651, allocations: 0 / 494.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2651, allocations: 1.312 kB / 494.3 MB, free: 23.01 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002662/0.2678, allocations: 0.9657 MB / 495.3 MB, free: 22.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2678, allocations: 13.39 kB / 495.3 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.2679, allocations: 58.98 kB / 495.3 MB, free: 22.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.2679, allocations: 31.88 kB / 495.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.2681, allocations: 278.3 kB / 495.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.2682, allocations: 18.44 kB / 495.6 MB, free: 21.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2682, allocations: 24.88 kB / 495.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.2687, allocations: 347 kB / 496 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2687, allocations: 3.938 kB / 496 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.2687, allocations: 7.281 kB / 496 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2687, allocations: 5.25 kB / 496 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.2691, allocations: 334.8 kB / 496.4 MB, free: 21.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2705, allocations: 1.029 MB / 497.4 MB, free: 20.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.2709, allocations: 367.1 kB / 497.7 MB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.2712, allocations: 210.2 kB / 497.9 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.2713, allocations: 9.188 kB / 498 MB, free: 20.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2713, allocations: 44.41 kB / 498 MB, free: 20.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.2713, allocations: 3.984 kB / 498 MB, free: 20.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00214/0.2734, allocations: 1.053 MB / 499.1 MB, free: 19.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2734, allocations: 55 kB / 499.1 MB, free: 19.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.2736, allocations: 221.3 kB / 499.3 MB, free: 19.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2736, allocations: 35.83 kB / 499.4 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.2737, allocations: 150.4 kB / 499.5 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.2738, allocations: 125.2 kB / 499.6 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2739, allocations: 90.88 kB / 499.7 MB, free: 18.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.2739, allocations: 336.8 kB / 0.4883 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.2742, allocations: 234 kB / 0.4885 GB, free: 18.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.2745, allocations: 240.7 kB / 0.4888 GB, free: 18.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.2752, allocations: 0.5033 MB / 0.4893 GB, free: 18.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2752, allocations: 0 / 0.4893 GB, free: 18.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001153/0.2763, allocations: 0.7221 MB / 0.49 GB, free: 17.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2763, allocations: 5.406 kB / 0.49 GB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2764, allocations: 0 / 0.49 GB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.277, allocations: 156.3 kB / 0.4901 GB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.2773, allocations: 82.61 kB / 0.4902 GB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.2802, allocations: 4.616 MB / 0.4947 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.2805, allocations: 43.03 kB / 0.4948 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2805, allocations: 13.11 kB / 0.4948 GB, free: 12.91 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.2806, allocations: 154.8 kB / 0.4949 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.2807, allocations: 24.48 kB / 0.4949 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2818, allocations: 0.5891 MB / 0.4955 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2818, allocations: 3.5 kB / 0.4955 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2818, allocations: 5.891 kB / 0.4955 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2818, allocations: 4 kB / 0.4955 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.2822, allocations: 461.7 kB / 0.496 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2822, allocations: 9.062 kB / 0.496 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2824, allocations: 50.56 kB / 0.496 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/0.2829, allocations: 154.2 kB / 0.4962 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.2829, allocations: 6.219 kB / 0.4962 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.2858, allocations: 4.595 MB / 0.5007 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2858, allocations: 0 / 0.5007 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.2868, allocations: 0.6347 MB / 0.5013 GB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2868, allocations: 107.4 kB / 0.5014 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.2869, allocations: 10.53 kB / 0.5014 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2871, allocations: 10.75 kB / 0.5014 GB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.2871, allocations: 22.66 kB / 0.5014 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2871, allocations: 7.156 kB / 0.5014 GB, free: 6.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.2873, allocations: 167.3 kB / 0.5016 GB, free: 6.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2873, allocations: 0 / 0.5016 GB, free: 6.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005047/0.2878, allocations: 125.3 kB / 0.5017 GB, free: 6.484 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.289, allocations: 1.191 MB / 0.5029 GB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.2904, allocations: 0.8348 MB / 0.5037 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2904, allocations: 0 / 0.5037 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.2912, allocations: 0.5734 MB / 0.5043 GB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2915, allocations: 17.89 kB / 0.5043 GB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.2956, allocations: 3.578 MB / 0.5078 GB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.2958, allocations: 0.7555 MB / 0.5085 GB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2959, allocations: 33.53 kB / 0.5085 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.296, allocations: 78.84 kB / 0.5086 GB, free: 1.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.296, allocations: 1 kB / 0.5086 GB, free: 1.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.3328, allocations: 7.521 MB / 0.516 GB, free: 11.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.747/10.08, allocations: 6.281 kB / 0.516 GB, free: 11.05 MB / 382.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.567436861805618] Failed to read output from testmodel.py, exit status != 0: 10.163173376116902 10.186026529 9.916839834 Calling exit ...