Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.0009212/0.0009212, allocations: 80.53 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.0009879/0.0009879, allocations: 174.3 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.8779/0.8779, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.02337/0.02337, allocations: 4.483 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.858e-05, allocations: 2.281 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.001662/0.001681, allocations: 1.438 MB / 391 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.003213, allocations: 1.555 MB / 392.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.003294, allocations: 4 kB / 392.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.003621, allocations: 127.2 kB / 392.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.003938, allocations: 143 kB / 392.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.005214, allocations: 0.9413 MB / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.0055, allocations: 250.6 kB / 394.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.005626, allocations: 48.42 kB / 394.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.005744, allocations: 143.7 kB / 394.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.005881, allocations: 103.7 kB / 394.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.005907, allocations: 16 kB / 394.4 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.006227, allocations: 231.5 kB / 394.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.006266, allocations: 55.75 kB / 394.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.006327, allocations: 75.83 kB / 394.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.006753, allocations: 450.6 kB / 395.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006757, allocations: 0 / 395.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006758, allocations: 0 / 395.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006763, allocations: 0 / 395.2 MB, free: 1.824 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00193/0.008693, allocations: 0.9301 MB / 396.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.008732, allocations: 12.03 kB / 396.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.008779, allocations: 50.73 kB / 396.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.008832, allocations: 32.8 kB / 396.2 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.009062, allocations: 205.5 kB / 396.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.009077, allocations: 16.7 kB / 396.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.009104, allocations: 20.38 kB / 396.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.0095, allocations: 461.7 kB / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.009509, allocations: 192 / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.009532, allocations: 8.375 kB / 396.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.009539, allocations: 8.125 kB / 396.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.009803, allocations: 260 kB / 397.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.01077, allocations: 0.7414 MB / 397.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.01118, allocations: 297.5 kB / 398.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.01133, allocations: 140.8 kB / 398.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.01137, allocations: 4 kB / 398.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.0114, allocations: 38.56 kB / 398.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.263e-06/0.0114, allocations: 0 / 398.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001955/0.01335, allocations: 0.9906 MB / 399.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.0134, allocations: 102.8 kB / 399.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01358, allocations: 222.8 kB / 399.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.0136, allocations: 33.7 kB / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.01367, allocations: 124.9 kB / 399.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.01372, allocations: 95.14 kB / 399.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.01381, allocations: 73.64 kB / 400 MB, free: 12.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.0139, allocations: 334.8 kB / 400.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.01438, allocations: 176.3 kB / 400.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01459, allocations: 269.8 kB / 400.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.01499, allocations: 386.8 kB / 401.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01499, allocations: 0 / 401.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001104/0.01609, allocations: 0.732 MB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01611, allocations: 8 kB / 401.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01612, allocations: 4 kB / 401.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.01716, allocations: 420.4 kB / 402.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.01731, allocations: 55.91 kB / 402.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.02008, allocations: 2.588 MB / 404.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.02025, allocations: 39.77 kB / 405 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.02027, allocations: 8 kB / 405 MB, free: 7.617 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.02039, allocations: 145.7 kB / 405.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.02043, allocations: 27.86 kB / 405.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.02152, allocations: 0.6833 MB / 405.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.02152, allocations: 7.984 kB / 405.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.02152, allocations: 0 / 405.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02153, allocations: 0 / 405.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.02176, allocations: 304.5 kB / 406.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02176, allocations: 3.984 kB / 406.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.02184, allocations: 35.92 kB / 406.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009583/0.0228, allocations: 416.4 kB / 406.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.02282, allocations: 4 kB / 406.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.02544, allocations: 2.549 MB / 409.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02544, allocations: 0 / 409.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.02648, allocations: 0.7262 MB / 409.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.02651, allocations: 27.78 kB / 409.9 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.02654, allocations: 8 kB / 409.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.02667, allocations: 23.98 kB / 409.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.02673, allocations: 27.95 kB / 409.9 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.02675, allocations: 7.938 kB / 409.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.02684, allocations: 158.8 kB / 410.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02684, allocations: 0 / 410.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.02716, allocations: 103.9 kB / 410.2 MB, free: 2.18 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.02845, allocations: 1.287 MB / 411.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.02931, allocations: 0.592 MB / 412.1 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.02931, allocations: 4 kB / 412.1 MB, free: 260 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.126/0.1553, allocations: 386.7 kB / 412.5 MB, free: 33.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1556, allocations: 23.27 kB / 412.5 MB, free: 33.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.1594, allocations: 3.486 MB / 416 MB, free: 32.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.1595, allocations: 139.2 kB / 416.1 MB, free: 31.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.1596, allocations: 27.06 kB / 416.1 MB, free: 31.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1597, allocations: 73.58 kB / 416.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1597, allocations: 1.156 kB / 416.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1839, allocations: 10.21 MB / 426.4 MB, free: 28.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.06, allocations: 4.812 kB / 426.4 MB, free: 28.79 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.72782454546541] Failed to read output from testmodel.py, exit status != 0: 8.153962396085262 8.161826033 8.153575512 Calling exit ...