Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.001199/0.001199, allocations: 116.6 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.00124/0.00124, allocations: 195.7 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.06056/0.06056, allocations: 8.233 MB / 311.6 MB, free: 2.043 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 63.89 kB / 434 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3124, allocations: 54.36 MB / 488.3 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003345/0.3158, allocations: 2.847 MB / 491.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.318, allocations: 1.665 MB / 492.8 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.3182, allocations: 7.812 kB / 492.8 MB, free: 23.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.3186, allocations: 170.9 kB / 493 MB, free: 23.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.3192, allocations: 239.7 kB / 493.2 MB, free: 23.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.321, allocations: 1.265 MB / 494.5 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.3215, allocations: 492.6 kB / 495 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3217, allocations: 127.9 kB / 495.1 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3219, allocations: 201.9 kB / 495.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3222, allocations: 267.1 kB / 495.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.3222, allocations: 39.88 kB / 495.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.3228, allocations: 275.5 kB / 495.9 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.3228, allocations: 103.8 kB / 496 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.323, allocations: 237.6 kB / 496.2 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.3237, allocations: 0.6698 MB / 496.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3237, allocations: 4 kB / 496.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3237, allocations: 0 / 496.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3237, allocations: 0 / 496.9 MB, free: 21.06 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005227/0.329, allocations: 1.526 MB / 498.4 MB, free: 20.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.329, allocations: 17.86 kB / 498.4 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.3291, allocations: 72.12 kB / 498.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3292, allocations: 54.27 kB / 498.6 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3295, allocations: 353.5 kB / 498.9 MB, free: 19.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3296, allocations: 34.31 kB / 498.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.3296, allocations: 40.84 kB / 499 MB, free: 19.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.3304, allocations: 0.5745 MB / 499.5 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3305, allocations: 5.125 kB / 499.6 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.3305, allocations: 19.53 kB / 499.6 MB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3305, allocations: 8.719 kB / 499.6 MB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.3313, allocations: 0.5319 MB / 0.4884 GB, free: 18.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.3337, allocations: 2.275 MB / 0.4906 GB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3348, allocations: 0.7801 MB / 0.4914 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.3351, allocations: 284.7 kB / 0.4916 GB, free: 16.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.3352, allocations: 16.27 kB / 0.4917 GB, free: 16.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3353, allocations: 42.44 kB / 0.4917 GB, free: 16.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.3353, allocations: 3.938 kB / 0.4917 GB, free: 16.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.006488/0.3417, allocations: 2.008 MB / 0.4937 GB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3418, allocations: 109.3 kB / 0.4938 GB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3421, allocations: 276.2 kB / 0.494 GB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.3421, allocations: 42.27 kB / 0.4941 GB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.3422, allocations: 185.2 kB / 0.4942 GB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3424, allocations: 188 kB / 0.4944 GB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.3426, allocations: 116.6 kB / 0.4945 GB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.3426, allocations: 346.9 kB / 0.4949 GB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.3431, allocations: 327.9 kB / 0.4952 GB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.3436, allocations: 383.8 kB / 0.4955 GB, free: 13.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.3445, allocations: 0.7203 MB / 0.4963 GB, free: 13.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3445, allocations: 4 kB / 0.4963 GB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003282/0.3478, allocations: 1.321 MB / 0.4975 GB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3478, allocations: 9.391 kB / 0.4976 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3478, allocations: 0 / 0.4976 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/0.351, allocations: 0.7811 MB / 0.4983 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.3514, allocations: 102.9 kB / 0.4984 GB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.3579, allocations: 4.178 MB / 0.5025 GB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.3584, allocations: 71.25 kB / 0.5026 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.3584, allocations: 21.89 kB / 0.5026 GB, free: 8.688 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 (61): * Single equations (assignments): 60 * 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.0002163/0.3587, allocations: 170.8 kB / 0.5027 GB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.3587, allocations: 41.64 kB / 0.5028 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.362, allocations: 1.284 MB / 0.504 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.362, allocations: 6.188 kB / 0.504 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.362, allocations: 5.031 kB / 0.5041 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.362, allocations: 7.984 kB / 0.5041 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.3655, allocations: 1.961 MB / 0.506 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3655, allocations: 4 kB / 0.506 GB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.3657, allocations: 79.89 kB / 0.5061 GB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/0.3686, allocations: 0.7444 MB / 0.5068 GB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.3687, allocations: 16 kB / 0.5068 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.3741, allocations: 4.132 MB / 0.5108 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3741, allocations: 7.938 kB / 0.5108 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.3772, allocations: 1.289 MB / 0.5121 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3774, allocations: 116.8 kB / 0.5122 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.3775, allocations: 12 kB / 0.5122 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.3779, allocations: 25.53 kB / 0.5122 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.378, allocations: 44.5 kB / 0.5123 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.378, allocations: 19.98 kB / 0.5123 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.3783, allocations: 198 kB / 0.5125 GB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3783, allocations: 0 / 0.5125 GB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007305/0.379, allocations: 203.7 kB / 0.5127 GB, free: 14.88 MB / 382.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 (45): * Single equations (assignments): 44 * 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.003829/0.3828, allocations: 1.856 MB / 0.5145 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.3856, allocations: 1.053 MB / 0.5155 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3856, allocations: 0 / 0.5155 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.3874, allocations: 0.681 MB / 0.5162 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3879, allocations: 40.12 kB / 0.5162 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.3996, allocations: 5.473 MB / 0.5216 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.4002, allocations: 0.8179 MB / 0.5224 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.4004, allocations: 59.23 kB / 0.5224 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4006, allocations: 147.4 kB / 0.5226 GB, free: 4.586 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4006, allocations: 0 / 0.5226 GB, free: 4.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.4482, allocations: 16.11 MB / 0.5383 GB, free: 4.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.09, allocations: 12.05 kB / 0.5383 GB, free: 4.707 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.543978749774396] Failed to read output from testmodel.py, exit status != 0: 12.190093517769128 12.203988632 11.877267538 Calling exit ...