Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.000808/0.000808, allocations: 80.44 kB / 19.97 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.0008448/0.0008448, allocations: 177.9 kB / 23.25 MB, free: 1.309 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.9444/0.9444, allocations: 177.1 MB / 203.6 MB, free: 5.742 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.02616/0.02616, allocations: 4.469 MB / 264.5 MB, free: 8.77 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.659e-05, allocations: 10.28 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001727/0.001753, allocations: 1.048 MB / 390.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003241, allocations: 1.446 MB / 392.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.003298, allocations: 0 / 392.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.003582, allocations: 107.3 kB / 392.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.003766, allocations: 67.48 kB / 392.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.004438, allocations: 0.5638 MB / 392.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.004658, allocations: 135.2 kB / 393 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.004778, allocations: 33.08 kB / 393 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.004863, allocations: 79.81 kB / 393.1 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004966, allocations: 51.86 kB / 393.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.004992, allocations: 8 kB / 393.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.005242, allocations: 171.6 kB / 393.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.005264, allocations: 23.86 kB / 393.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.005304, allocations: 43.91 kB / 393.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.005581, allocations: 283.1 kB / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005582, allocations: 0 / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005584, allocations: 4 kB / 393.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005589, allocations: 3.984 kB / 393.7 MB, free: 3.328 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008872/0.006476, allocations: 0.5209 MB / 394.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.006511, allocations: 16.02 kB / 394.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.00655, allocations: 38.75 kB / 394.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.006586, allocations: 12.84 kB / 394.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.006905, allocations: 153.6 kB / 394.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.006919, allocations: 12.55 kB / 394.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.006939, allocations: 16.36 kB / 394.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.00719, allocations: 205 kB / 394.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.0072, allocations: 4.172 kB / 394.6 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.007215, allocations: 8.375 kB / 394.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.007222, allocations: 8.125 kB / 394.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.007385, allocations: 151.9 kB / 394.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.008043, allocations: 0.4955 MB / 395.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.008238, allocations: 150.5 kB / 395.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.008308, allocations: 64.84 kB / 395.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.008346, allocations: 4 kB / 395.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.008368, allocations: 34.56 kB / 395.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.00837, allocations: 0 / 395.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006109/0.008981, allocations: 314.5 kB / 395.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.009011, allocations: 59.34 kB / 395.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.00912, allocations: 177.7 kB / 396.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.009135, allocations: 25.7 kB / 396.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.009224, allocations: 120.4 kB / 396.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.009247, allocations: 43.64 kB / 396.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.009305, allocations: 45.69 kB / 396.3 MB, free: 500 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.00938, allocations: 326.8 kB / 396.6 MB, free: 164 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.009468, allocations: 87.97 kB / 396.7 MB, free: 76 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.009569, allocations: 98.27 kB / 396.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.009761, allocations: 195.8 kB / 397 MB, free: 15.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009763, allocations: 0 / 397 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000404/0.01017, allocations: 310.2 kB / 397.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01018, allocations: 4 kB / 397.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01019, allocations: 0 / 397.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.01038, allocations: 52.83 kB / 397.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01053, allocations: 39.91 kB / 397.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.01163, allocations: 1.439 MB / 398.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.0117, allocations: 11.92 kB / 398.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01172, allocations: 8 kB / 398.8 MB, free: 13.81 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.0118, allocations: 117.8 kB / 399 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.01182, allocations: 19.84 kB / 399 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.01212, allocations: 246.9 kB / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.01212, allocations: 0 / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01212, allocations: 0 / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01213, allocations: 0 / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01228, allocations: 208.6 kB / 399.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01229, allocations: 0 / 399.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.01233, allocations: 19.94 kB / 399.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.01245, allocations: 52.81 kB / 399.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01245, allocations: 7.938 kB / 399.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007779/0.01323, allocations: 1.424 MB / 400.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01323, allocations: 0 / 400.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.01351, allocations: 304.4 kB / 401.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01353, allocations: 19.84 kB / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.01354, allocations: 7.938 kB / 401.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.01361, allocations: 7.938 kB / 401.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.01363, allocations: 11.97 kB / 401.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.01364, allocations: 7.938 kB / 401.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.01371, allocations: 133.4 kB / 401.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01372, allocations: 4 kB / 401.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.01394, allocations: 44 kB / 401.5 MB, free: 11 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 (12): * Single equations (assignments): 11 * 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): 1 system {(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.0005529/0.0145, allocations: 0.8499 MB / 402.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.01508, allocations: 302.6 kB / 402.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01509, allocations: 0 / 402.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.01526, allocations: 194.6 kB / 402.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.01544, allocations: 15.94 kB / 402.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.01734, allocations: 2.1 MB / 404.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.01741, allocations: 97.67 kB / 405 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.01747, allocations: 16.62 kB / 405 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.01753, allocations: 40.48 kB / 405.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01753, allocations: 4 kB / 405.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.0386, allocations: 4.62 MB / 409.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.062, allocations: 0 / 409.7 MB, free: 2.73 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.001392447389662] Failed to read output from testmodel.py, exit status != 0: 7.146300730295479 7.299655346 7.292016235 Calling exit ...