Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.00171/0.00171, allocations: 114.1 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.001855/0.001855, 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.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.05241/0.05241, allocations: 8.233 MB / 311.6 MB, free: 2.098 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.88 kB / 434 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 54.35 MB / 488.3 MB, free: 27.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003575/0.2469, allocations: 2.706 MB / 491 MB, free: 25.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.249, allocations: 1.639 MB / 492.7 MB, free: 23.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2492, allocations: 11.25 kB / 492.7 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2495, allocations: 167.2 kB / 492.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.25, allocations: 222.5 kB / 493.1 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.2518, allocations: 1.245 MB / 494.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.2524, allocations: 460.9 kB / 494.7 MB, free: 22.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2526, allocations: 124.3 kB / 494.9 MB, free: 22.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2528, allocations: 189.3 kB / 495.1 MB, free: 22.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.2531, allocations: 237.4 kB / 495.3 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.2531, allocations: 37.12 kB / 495.3 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.2536, allocations: 277.9 kB / 495.6 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.2536, allocations: 89.38 kB / 495.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.2538, allocations: 225.2 kB / 495.9 MB, free: 21.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.2544, allocations: 0.6369 MB / 496.5 MB, free: 21.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2544, allocations: 0 / 496.5 MB, free: 21.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2544, allocations: 0 / 496.5 MB, free: 21.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2545, allocations: 1.781 kB / 496.5 MB, free: 21.35 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004636/0.2591, allocations: 1.414 MB / 498 MB, free: 20.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2591, allocations: 12.8 kB / 498 MB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.2592, allocations: 74.69 kB / 498 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2593, allocations: 49.81 kB / 498.1 MB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.2597, allocations: 335.9 kB / 498.4 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.2597, allocations: 32.91 kB / 498.4 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.2597, allocations: 38.16 kB / 498.5 MB, free: 19.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.2604, allocations: 0.5124 MB / 499 MB, free: 19.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2604, allocations: 7.922 kB / 499 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.2605, allocations: 15.41 kB / 499 MB, free: 19.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2605, allocations: 8.344 kB / 499 MB, free: 19.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.2611, allocations: 444 kB / 499.5 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.2633, allocations: 2.114 MB / 0.4898 GB, free: 17.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.264, allocations: 0.5279 MB / 0.4903 GB, free: 17.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.2643, allocations: 235.7 kB / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.2644, allocations: 13.89 kB / 0.4906 GB, free: 16.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2644, allocations: 46.61 kB / 0.4906 GB, free: 16.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.2644, allocations: 0 / 0.4906 GB, free: 16.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.006076/0.2705, allocations: 1.807 MB / 0.4924 GB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2706, allocations: 107.2 kB / 0.4925 GB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.2708, allocations: 273.4 kB / 0.4927 GB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.2708, allocations: 36.3 kB / 0.4928 GB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.2709, allocations: 185.7 kB / 0.493 GB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.271, allocations: 147.9 kB / 0.4931 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.2712, allocations: 116.3 kB / 0.4932 GB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.2712, allocations: 346.5 kB / 0.4935 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.2716, allocations: 286.3 kB / 0.4938 GB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.272, allocations: 334.2 kB / 0.4941 GB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.2728, allocations: 0.6276 MB / 0.4947 GB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2728, allocations: 0 / 0.4947 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003095/0.2759, allocations: 1.223 MB / 0.4959 GB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2759, allocations: 10.88 kB / 0.4959 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2759, allocations: 0 / 0.4959 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/0.2791, allocations: 0.7782 MB / 0.4967 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2795, allocations: 90.69 kB / 0.4968 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.2856, allocations: 4.056 MB / 0.5008 GB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.286, allocations: 55.3 kB / 0.5008 GB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.2861, allocations: 15.44 kB / 0.5008 GB, free: 9.941 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.2862, allocations: 176.6 kB / 0.501 GB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.2863, allocations: 35.8 kB / 0.501 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.2894, allocations: 1.174 MB / 0.5022 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2895, allocations: 5.594 kB / 0.5022 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2895, allocations: 4 kB / 0.5022 GB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.2895, allocations: 3.984 kB / 0.5022 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.2929, allocations: 1.773 MB / 0.5039 GB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2929, allocations: 3.938 kB / 0.5039 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2932, allocations: 61.47 kB / 0.504 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/0.2963, allocations: 0.7471 MB / 0.5047 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.2963, allocations: 8 kB / 0.5047 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/0.3017, allocations: 4.014 MB / 0.5086 GB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3017, allocations: 0 / 0.5086 GB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.3045, allocations: 1.2 MB / 0.5098 GB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.3046, allocations: 116.8 kB / 0.5099 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.3047, allocations: 8 kB / 0.5099 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.305, allocations: 35.97 kB / 0.51 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.3051, allocations: 32.39 kB / 0.51 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3052, allocations: 12 kB / 0.51 GB, free: 1.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3053, allocations: 194 kB / 0.5102 GB, free: 1.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3053, allocations: 0 / 0.5102 GB, free: 1.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.3059, allocations: 183.9 kB / 0.5104 GB, free: 1.316 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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00313/0.309, allocations: 1.763 MB / 0.5121 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.3115, allocations: 0.9646 MB / 0.513 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3115, allocations: 4 kB / 0.513 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.3133, allocations: 0.6377 MB / 0.5137 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3137, allocations: 36.88 kB / 0.5137 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.3241, allocations: 5.097 MB / 0.5187 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.3246, allocations: 0.813 MB / 0.5195 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3248, allocations: 50.92 kB / 0.5195 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.325, allocations: 135.4 kB / 0.5196 GB, free: 7.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.325, allocations: 0 / 0.5196 GB, free: 7.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/0.368, allocations: 15.11 MB / 0.5344 GB, free: 8.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 1.5 kB / 0.5344 GB, free: 8.77 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.403095054905862] Failed to read output from testmodel.py, exit status != 0: 12.052528765052557 12.078756658 11.819635727 Calling exit ...