Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.0007789/0.0007789, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008053/0.0008053, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8808/0.8808, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2103/0.2103, allocations: 29.41 MB / 290.1 MB, free: 2.465 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.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.467e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.0044/0.004414, allocations: 4.402 MB / 434.6 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.006131, allocations: 1.359 MB / 436 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.006309, allocations: 19.81 kB / 436 MB, free: 7.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.006905, allocations: 290.5 kB / 436.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.007322, allocations: 290.3 kB / 436.6 MB, free: 7.211 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.007806, allocations: 267.2 kB / 436.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.008304, allocations: 0.6702 MB / 437.5 MB, free: 6.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.008589, allocations: 216.5 kB / 437.7 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.009074, allocations: 398.9 kB / 438.1 MB, free: 5.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.009434, allocations: 403 kB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.009484, allocations: 44 kB / 438.5 MB, free: 5.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.009998, allocations: 215.5 kB / 438.7 MB, free: 5.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.01025, allocations: 275.3 kB / 439 MB, free: 4.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.01048, allocations: 203.5 kB / 439.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.01126, allocations: 0.7984 MB / 440 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01127, allocations: 0 / 440 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01127, allocations: 0 / 440 MB, free: 3.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.01128, allocations: 0 / 440 MB, free: 3.75 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001274/0.01255, allocations: 0.8163 MB / 440.8 MB, free: 2.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.0126, allocations: 15.98 kB / 440.8 MB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.01268, allocations: 94.64 kB / 440.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004515/0.01313, allocations: 132.4 kB / 441.1 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.0137, allocations: 383.8 kB / 441.4 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.01372, allocations: 29.38 kB / 441.5 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.01378, allocations: 36.38 kB / 441.5 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.01468, allocations: 0.9391 MB / 442.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.0147, allocations: 4 kB / 442.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.01474, allocations: 19.94 kB / 442.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-05/0.01484, allocations: 64.94 kB / 442.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.01583, allocations: 0.8643 MB / 443.4 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.1946, allocations: 2.565 MB / 446 MB, free: 53.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.1951, allocations: 0.5522 MB / 446.5 MB, free: 52.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.1954, allocations: 434.5 kB / 446.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1954, allocations: 6.406 kB / 446.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1954, allocations: 42.25 kB / 447 MB, free: 52.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 3.697e-06/0.1955, allocations: 0 / 447 MB, free: 52.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001757/0.1972, allocations: 1.988 MB / 449 MB, free: 51.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1973, allocations: 140.2 kB / 449.1 MB, free: 51.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1974, allocations: 295.2 kB / 449.4 MB, free: 51.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1975, allocations: 36 kB / 449.4 MB, free: 51.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.1975, allocations: 263.1 kB / 449.7 MB, free: 51.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.1976, allocations: 194.9 kB / 449.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.1977, allocations: 95.98 kB / 450 MB, free: 51.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.1977, allocations: 358.7 kB / 450.3 MB, free: 50.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.198, allocations: 412.4 kB / 450.7 MB, free: 50.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.1983, allocations: 0.5499 MB / 451.3 MB, free: 50.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.199, allocations: 1.016 MB / 452.3 MB, free: 49.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.199, allocations: 3.375 kB / 452.3 MB, free: 49.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008009/0.1998, allocations: 1.077 MB / 453.4 MB, free: 49.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.1998, allocations: 80.33 kB / 453.4 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1998, allocations: 2.875 kB / 453.4 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.2, allocations: 38.81 kB / 453.5 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2002, allocations: 86.66 kB / 453.6 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/0.2008, allocations: 1.448 MB / 455 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.201, allocations: 33.75 kB / 455.1 MB, free: 48.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.2011, allocations: 28.34 kB / 455.1 MB, free: 48.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0002241/0.2013, allocations: 300 kB / 455.4 MB, free: 47.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.2014, allocations: 50.5 kB / 455.4 MB, free: 47.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008548/0.2022, allocations: 1.133 MB / 456.6 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.2022, allocations: 11.95 kB / 456.6 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2022, allocations: 0 / 456.6 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.2022, allocations: 6.844 kB / 456.6 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.2036, allocations: 1.776 MB / 458.4 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2036, allocations: 0 / 458.4 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2038, allocations: 56.69 kB / 458.4 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-05/0.2039, allocations: 39.61 kB / 458.4 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2039, allocations: 11.75 kB / 458.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005546/0.2044, allocations: 1.442 MB / 459.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2044, allocations: 5.141 kB / 459.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.2053, allocations: 1.228 MB / 461.1 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2054, allocations: 100 kB / 461.2 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2054, allocations: 21.31 kB / 461.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2056, allocations: 28.97 kB / 461.3 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.2057, allocations: 39.8 kB / 461.3 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.2057, allocations: 21.62 kB / 461.3 MB, free: 44.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2058, allocations: 203.6 kB / 461.5 MB, free: 44.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 461.5 MB, free: 44.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.2062, allocations: 146.2 kB / 461.7 MB, free: 44.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.001129/0.2073, allocations: 1.822 MB / 463.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009962/0.2083, allocations: 1.265 MB / 464.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2083, allocations: 1.125 kB / 464.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.2088, allocations: 0.7408 MB / 465.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2092, allocations: 72.92 kB / 465.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.2135, allocations: 6.296 MB / 471.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.2137, allocations: 307.7 kB / 472.2 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.2139, allocations: 103.5 kB / 472.3 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.214, allocations: 156.4 kB / 472.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.214, allocations: 6.875 kB / 472.4 MB, free: 39.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.2403, allocations: 11.25 MB / 483.7 MB, free: 37.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.392, allocations: 7.406 kB / 483.7 MB, free: 37.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.189152394421399] Failed to read output from testmodel.py, exit status != 0: 7.477076184935868 7.486576082 7.473585129 Calling exit ...