Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.0008899/0.0008899, allocations: 83.7 kB / 20.67 MB, free: 3.883 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.0008789/0.0008789, allocations: 173.3 kB / 23.95 MB, free: 0.6016 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.8928/0.8928, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2177/0.2177, allocations: 29.41 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.221e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004909/0.004931, allocations: 4.459 MB / 434.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.006597, allocations: 1.425 MB / 436.1 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.006772, allocations: 23.81 kB / 436.1 MB, free: 7.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.007431, allocations: 378.4 kB / 436.5 MB, free: 7.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.00781, allocations: 242.5 kB / 436.7 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.008323, allocations: 263.1 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.008761, allocations: 0.5766 MB / 437.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.009084, allocations: 242.8 kB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.009452, allocations: 358.9 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.00975, allocations: 287.3 kB / 438.4 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.009791, allocations: 39.94 kB / 438.5 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.01001, allocations: 159.6 kB / 438.6 MB, free: 5.152 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.01017, allocations: 239.4 kB / 438.9 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.0103, allocations: 175.6 kB / 439 MB, free: 4.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.01107, allocations: 0.6153 MB / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01108, allocations: 0 / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01108, allocations: 0 / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.01109, allocations: 0 / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009117/0.012, allocations: 0.6939 MB / 440.3 MB, free: 3.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.01204, allocations: 15.98 kB / 440.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.01211, allocations: 94.64 kB / 440.4 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.01255, allocations: 124.5 kB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.01299, allocations: 348 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.01301, allocations: 37.3 kB / 440.9 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01312, allocations: 56.69 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.01371, allocations: 0.641 MB / 441.6 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01372, allocations: 4 kB / 441.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.01375, allocations: 19.98 kB / 441.7 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.01382, allocations: 36.97 kB / 441.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.01431, allocations: 483.5 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.177/0.1913, allocations: 2.843 MB / 445 MB, free: 52.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1915, allocations: 174.7 kB / 445.2 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.1916, allocations: 93.64 kB / 445.3 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1917, allocations: 8.5 kB / 445.3 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.1917, allocations: 38.59 kB / 445.3 MB, free: 52.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.136e-06/0.1917, allocations: 0 / 445.3 MB, free: 52.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009408/0.1926, allocations: 0.7665 MB / 446.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1927, allocations: 80.3 kB / 446.2 MB, free: 52.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1929, allocations: 360.2 kB / 446.5 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1929, allocations: 30.39 kB / 446.5 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.795e-05/0.193, allocations: 312.7 kB / 446.9 MB, free: 51.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.193, allocations: 81.44 kB / 446.9 MB, free: 51.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.1931, allocations: 91.14 kB / 447 MB, free: 51.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.1931, allocations: 341.7 kB / 447.4 MB, free: 51.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1932, allocations: 129.4 kB / 447.5 MB, free: 51.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1934, allocations: 332.7 kB / 447.8 MB, free: 51.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.1937, allocations: 496.8 kB / 448.3 MB, free: 50.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1937, allocations: 7.219 kB / 448.3 MB, free: 50.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005556/0.1942, allocations: 0.5616 MB / 448.9 MB, free: 50.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1943, allocations: 10.31 kB / 448.9 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/0.1945, allocations: 277.1 kB / 449.1 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1947, allocations: 79.53 kB / 449.2 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.1949, allocations: 94.56 kB / 449.3 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007947/0.1957, allocations: 1.613 MB / 450.9 MB, free: 48.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1959, allocations: 20.81 kB / 450.9 MB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1959, allocations: 26.42 kB / 451 MB, free: 48.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.196, allocations: 214.1 kB / 451.2 MB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1961, allocations: 38.59 kB / 451.2 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1963, allocations: 293.4 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1963, allocations: 3.484 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1963, allocations: 2.875 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1963, allocations: 3.469 kB / 451.5 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.197, allocations: 0.7404 MB / 452.3 MB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.197, allocations: 5.844 kB / 452.3 MB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1971, allocations: 57.73 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1971, allocations: 3.062 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1971, allocations: 6.969 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1971, allocations: 7.469 kB / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1971, allocations: 0 / 452.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1974, allocations: 478.5 kB / 452.8 MB, free: 47.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.1974, allocations: 39.3 kB / 452.8 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1975, allocations: 3.156 kB / 452.8 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.1976, allocations: 13.66 kB / 452.9 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1976, allocations: 21.09 kB / 452.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1976, allocations: 6.406 kB / 452.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.1977, allocations: 241 kB / 453.1 MB, free: 47.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1977, allocations: 0 / 453.1 MB, free: 47.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.198, allocations: 93.53 kB / 453.2 MB, free: 47.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000402/0.1984, allocations: 1.003 MB / 454.2 MB, free: 46.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.1988, allocations: 443.2 kB / 454.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1988, allocations: 3.062 kB / 454.6 MB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.1989, allocations: 105.1 kB / 454.7 MB, free: 46.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1992, allocations: 68.8 kB / 454.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.2018, allocations: 3.916 MB / 458.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.202, allocations: 258.9 kB / 459 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.2022, allocations: 113.2 kB / 459.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2023, allocations: 145.5 kB / 459.2 MB, free: 43.88 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2023, allocations: 0 / 459.2 MB, free: 43.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2242, allocations: 8.252 MB / 467.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.278, allocations: 11.19 kB / 467.5 MB, free: 42.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.114124013110995] Failed to read output from testmodel.py, exit status != 0: 7.3636524537578225 7.370340823 7.357470026 Calling exit ...