Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001312/0.001312, 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.001443/0.001443, 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.9251/0.9251, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.02557/0.02557, allocations: 4.469 MB / 264.5 MB, free: 8.75 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.708e-05, allocations: 8.891 kB / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.00258/0.002597, allocations: 2.38 MB / 392 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.004559, allocations: 1.738 MB / 393.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.004726, allocations: 8 kB / 393.7 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.005161, allocations: 174.8 kB / 393.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.005648, allocations: 266.1 kB / 394.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.007028, allocations: 1.015 MB / 395.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.007454, allocations: 0.5168 MB / 395.7 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.007628, allocations: 100.9 kB / 395.8 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.007846, allocations: 299.3 kB / 396.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.008006, allocations: 191.5 kB / 396.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.008046, allocations: 40 kB / 396.3 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.00842, allocations: 259.5 kB / 396.6 MB, free: 392 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.008477, allocations: 99.59 kB / 396.7 MB, free: 292 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.008595, allocations: 163.5 kB / 396.8 MB, free: 128 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.009156, allocations: 0.7011 MB / 397.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.009158, allocations: 4 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.009159, allocations: 0 / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.009165, allocations: 7.938 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003165/0.01233, allocations: 1.597 MB / 399.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01237, allocations: 8.031 kB / 399.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.01243, allocations: 78.66 kB / 399.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.01251, allocations: 56.61 kB / 399.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.01281, allocations: 297.6 kB / 399.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.01283, allocations: 37.38 kB / 399.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.01288, allocations: 44.31 kB / 399.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.01358, allocations: 0.8097 MB / 400.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.01359, allocations: 192 / 400.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.01362, allocations: 16.38 kB / 400.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01363, allocations: 11.94 kB / 400.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.01418, allocations: 0.5623 MB / 401 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.016, allocations: 1.398 MB / 402.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.01669, allocations: 0.6043 MB / 403.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.01703, allocations: 350.3 kB / 403.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/0.01793, allocations: 0.9122 MB / 404.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.01795, allocations: 43 kB / 404.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 1.583e-06/0.01796, allocations: 0 / 404.3 MB, free: 8.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.005007/0.02296, allocations: 2.577 MB / 406.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.02302, allocations: 107.3 kB / 407 MB, free: 5.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.02324, allocations: 345.5 kB / 407.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.02328, allocations: 37.7 kB / 407.4 MB, free: 5.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.02338, allocations: 205.4 kB / 407.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.02349, allocations: 186.3 kB / 407.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.02365, allocations: 150.6 kB / 407.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.02374, allocations: 354.7 kB / 408.3 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.0244, allocations: 409.9 kB / 408.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.02487, allocations: 0.563 MB / 409.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.02576, allocations: 0.9609 MB / 410.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.02577, allocations: 0 / 410.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002576/0.02835, allocations: 1.77 MB / 412 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.02836, allocations: 4 kB / 412 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.02837, allocations: 4 kB / 412 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1434/0.1717, allocations: 1.08 MB / 413.1 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1721, allocations: 116.6 kB / 413.2 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.1776, allocations: 5 MB / 418.2 MB, free: 30.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.1779, allocations: 81.52 kB / 418.3 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.1779, allocations: 24.69 kB / 418.3 MB, free: 30.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1781, allocations: 178.6 kB / 418.5 MB, free: 30.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.1781, allocations: 46.19 kB / 418.5 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.1806, allocations: 1.603 MB / 420.1 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1806, allocations: 7.734 kB / 420.1 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1806, allocations: 8.781 kB / 420.1 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1807, allocations: 3.094 kB / 420.1 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.181, allocations: 0.5001 MB / 420.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.181, allocations: 0.7031 kB / 420.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1812, allocations: 61.62 kB / 420.7 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/0.1836, allocations: 1.025 MB / 421.7 MB, free: 29.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1836, allocations: 12.25 kB / 421.7 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.1889, allocations: 4.964 MB / 426.7 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1889, allocations: 4.906 kB / 426.7 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.1914, allocations: 1.61 MB / 428.3 MB, free: 25.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1915, allocations: 49.03 kB / 428.3 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.1915, allocations: 11.2 kB / 428.4 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1917, allocations: 26.14 kB / 428.4 MB, free: 25.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1918, allocations: 48.86 kB / 428.4 MB, free: 25.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.1919, allocations: 18.09 kB / 428.4 MB, free: 25.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.192, allocations: 224.4 kB / 428.7 MB, free: 24.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.192, allocations: 0 / 428.7 MB, free: 24.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005349/0.1926, allocations: 238.2 kB / 428.9 MB, free: 24.94 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002543/0.1951, allocations: 2.181 MB / 431.1 MB, free: 23.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.1967, allocations: 1.257 MB / 432.3 MB, free: 23.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1967, allocations: 1.719 kB / 432.3 MB, free: 23.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009413/0.1976, allocations: 0.7735 MB / 433.1 MB, free: 22.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1979, allocations: 41.02 kB / 433.2 MB, free: 22.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/0.2045, allocations: 6.684 MB / 439.8 MB, free: 18.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2046, allocations: 228.4 kB / 440.1 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2047, allocations: 64.78 kB / 440.1 MB, free: 18.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2048, allocations: 152.4 kB / 440.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2048, allocations: 0 / 440.3 MB, free: 18.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2316, allocations: 19.33 MB / 459.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.517, allocations: 0 / 459.6 MB, free: 15.01 MB / 346.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.276675940491259] Failed to read output from testmodel.py, exit status != 0: 7.606807024218142 7.616373868 7.605446906 Calling exit ...