Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007832/0.0007832, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9245/0.9245, allocations: 177.1 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03606/0.03606, allocations: 4.47 MB / 264.5 MB, free: 8.754 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.285e-05, allocations: 2.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002441/0.002464, allocations: 1.411 MB / 391 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.004598, allocations: 1.559 MB / 392.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.004723, allocations: 4 kB / 392.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.005127, allocations: 127.2 kB / 392.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.005431, allocations: 107.2 kB / 392.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.006793, allocations: 0.9139 MB / 393.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.007141, allocations: 250.7 kB / 394 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.007298, allocations: 52.42 kB / 394 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.007449, allocations: 147.7 kB / 394.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.007631, allocations: 103.7 kB / 394.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.007665, allocations: 20 kB / 394.3 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.00805, allocations: 235.5 kB / 394.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.008094, allocations: 47.83 kB / 394.6 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.008177, allocations: 83.75 kB / 394.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.008745, allocations: 450.6 kB / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.008748, allocations: 0 / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00875, allocations: 0 / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.008755, allocations: 0 / 395.1 MB, free: 1.906 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002307/0.01106, allocations: 0.8321 MB / 395.9 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.0111, allocations: 8.031 kB / 395.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.01117, allocations: 58.72 kB / 396 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.01123, allocations: 28.8 kB / 396 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.01152, allocations: 197.4 kB / 396.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01154, allocations: 16.38 kB / 396.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.01157, allocations: 20.38 kB / 396.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.01206, allocations: 432.3 kB / 396.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01207, allocations: 192 / 396.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.0121, allocations: 8.375 kB / 396.7 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.0121, allocations: 12.06 kB / 396.7 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.01251, allocations: 291.7 kB / 397 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.01366, allocations: 0.7296 MB / 397.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.01413, allocations: 334.3 kB / 398 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.01435, allocations: 168.8 kB / 398.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.0144, allocations: 7.984 kB / 398.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.01443, allocations: 38.56 kB / 398.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.01443, allocations: 0 / 398.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.005677/0.02011, allocations: 1.485 MB / 399.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.02016, allocations: 55.41 kB / 399.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.02033, allocations: 178.9 kB / 399.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.02037, allocations: 37.7 kB / 400 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.02044, allocations: 121 kB / 400.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.02052, allocations: 107 kB / 400.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.02064, allocations: 61.69 kB / 400.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.02076, allocations: 326.8 kB / 400.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.02102, allocations: 179.7 kB / 400.7 MB, free: 12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.02128, allocations: 184.3 kB / 400.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.02183, allocations: 393.2 kB / 401.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02184, allocations: 3.938 kB / 401.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00293/0.02477, allocations: 0.9928 MB / 402.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.02479, allocations: 4 kB / 402.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.0248, allocations: 7.984 kB / 402.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/0.02732, allocations: 0.7216 MB / 403 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.02744, allocations: 43.91 kB / 403.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.03189, allocations: 3.459 MB / 406.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.03201, allocations: 27.78 kB / 406.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.03204, allocations: 11.98 kB / 406.6 MB, free: 6.039 MB / 330.7 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 (25): * Single equations (assignments): 24 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.03217, allocations: 145.8 kB / 406.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.03221, allocations: 23.84 kB / 406.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.03457, allocations: 1.013 MB / 407.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.03458, allocations: 4 kB / 407.8 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.03458, allocations: 0 / 407.8 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.03459, allocations: 7.922 kB / 407.8 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.03488, allocations: 328.5 kB / 408.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.03489, allocations: 4 kB / 408.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.03496, allocations: 35.98 kB / 408.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.03728, allocations: 0.73 MB / 408.9 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.0373, allocations: 8 kB / 408.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.04159, allocations: 3.39 MB / 412.3 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.0416, allocations: 11.94 kB / 412.3 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.175/0.2166, allocations: 1.06 MB / 413.3 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.2166, allocations: 26.31 kB / 413.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.2167, allocations: 12.69 kB / 413.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2168, allocations: 20.42 kB / 413.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.217, allocations: 30.59 kB / 413.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.217, allocations: 12.75 kB / 413.4 MB, free: 33.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2171, allocations: 125.6 kB / 413.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2171, allocations: 0 / 413.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005936/0.2177, allocations: 117.5 kB / 413.7 MB, free: 33.36 MB / 330.7 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 (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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003005/0.2207, allocations: 1.613 MB / 415.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.222, allocations: 0.7145 MB / 416 MB, free: 32.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.222, allocations: 1 kB / 416 MB, free: 32.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.2228, allocations: 0.499 MB / 416.5 MB, free: 32.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2231, allocations: 29.3 kB / 416.5 MB, free: 32.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.2298, allocations: 4.021 MB / 420.5 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2299, allocations: 143.5 kB / 420.7 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.23, allocations: 27.28 kB / 420.7 MB, free: 30.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.2301, allocations: 76.14 kB / 420.8 MB, free: 29.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2301, allocations: 0 / 420.8 MB, free: 29.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.2623, allocations: 12.58 MB / 433.4 MB, free: 25.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.038, allocations: 7.875 kB / 433.4 MB, free: 25.03 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.814428844489157] Failed to read output from testmodel.py, exit status != 0: 8.132916226051748 8.139279606 8.129122 Calling exit ...