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.001174/0.001174, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001505/0.001505, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9078/0.9078, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2281/0.2281, allocations: 29.4 MB / 290.1 MB, free: 2.441 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.493e-06/1.493e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.446e-05, allocations: 3.828 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004306/0.00433, allocations: 4.409 MB / 434.6 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.006278, allocations: 1.363 MB / 436 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.006451, allocations: 15.88 kB / 436 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.007153, allocations: 286.5 kB / 436.3 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.007593, allocations: 298.3 kB / 436.6 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.008115, allocations: 267.1 kB / 436.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.008618, allocations: 0.6702 MB / 437.5 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.00893, allocations: 204.5 kB / 437.7 MB, free: 6.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.009336, allocations: 402.9 kB / 438.1 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.009723, allocations: 407 kB / 438.5 MB, free: 5.289 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.009775, allocations: 48 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.01007, allocations: 219.5 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.01025, allocations: 267.3 kB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.0104, allocations: 207.4 kB / 439.2 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.01105, allocations: 0.7907 MB / 440 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01106, allocations: 0 / 440 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.01106, allocations: 3.938 kB / 440 MB, free: 3.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.01107, allocations: 8 kB / 440 MB, free: 3.758 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.001092/0.01216, allocations: 0.8162 MB / 440.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.0122, allocations: 11.98 kB / 440.8 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.109e-05/0.01228, allocations: 94.7 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/0.01275, allocations: 132.4 kB / 441.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.01325, allocations: 371.8 kB / 441.4 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.01328, allocations: 41.3 kB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.01334, allocations: 36.38 kB / 441.5 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.01424, allocations: 0.9469 MB / 442.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.01426, allocations: 0 / 442.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.01429, allocations: 16 kB / 442.5 MB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.424e-05/0.01439, allocations: 56.95 kB / 442.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.01549, allocations: 0.8643 MB / 443.4 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/0.2019, allocations: 2.567 MB / 446 MB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.2025, allocations: 0.5514 MB / 446.5 MB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.2028, allocations: 434.1 kB / 446.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.2028, allocations: 6.734 kB / 446.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2029, allocations: 37.84 kB / 447 MB, free: 52.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 3.968e-06/0.2029, allocations: 2.031 kB / 447 MB, free: 52.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001856/0.2047, allocations: 1.991 MB / 449 MB, free: 51.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2048, allocations: 140.8 kB / 449.1 MB, free: 51.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2049, allocations: 296.8 kB / 449.4 MB, free: 51.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.205, allocations: 32.92 kB / 449.4 MB, free: 51.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.205, allocations: 259.4 kB / 449.7 MB, free: 51.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.2051, allocations: 197.7 kB / 449.9 MB, free: 51.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.2052, allocations: 107.4 kB / 450 MB, free: 51.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.2052, allocations: 351.4 kB / 450.3 MB, free: 50.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.2055, allocations: 417.5 kB / 450.7 MB, free: 50.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2058, allocations: 0.5452 MB / 451.3 MB, free: 50.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.2065, allocations: 1.019 MB / 452.3 MB, free: 49.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2065, allocations: 3.219 kB / 452.3 MB, free: 49.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008332/0.2073, allocations: 1.077 MB / 453.4 MB, free: 49.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.2074, allocations: 72.02 kB / 453.4 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2074, allocations: 6.375 kB / 453.4 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.2076, allocations: 38.45 kB / 453.5 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2078, allocations: 94.69 kB / 453.6 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007135/0.2085, allocations: 1.443 MB / 455 MB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.2087, allocations: 30.34 kB / 455 MB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.2087, allocations: 26.97 kB / 455.1 MB, free: 48.09 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.0002119/0.2089, allocations: 306.1 kB / 455.4 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.209, allocations: 53.47 kB / 455.4 MB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.2099, allocations: 1.122 MB / 456.5 MB, free: 47.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.2099, allocations: 16.81 kB / 456.6 MB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.21, allocations: 0 / 456.6 MB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.21, allocations: 6.219 kB / 456.6 MB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.2116, allocations: 1.774 MB / 458.3 MB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2116, allocations: 6.125 kB / 458.4 MB, free: 46.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2117, allocations: 58.25 kB / 458.4 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-05/0.2118, allocations: 41.52 kB / 458.4 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.2118, allocations: 11.53 kB / 458.5 MB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/0.2125, allocations: 1.435 MB / 459.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2125, allocations: 2.688 kB / 459.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.2135, allocations: 1.24 MB / 461.1 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2136, allocations: 91.34 kB / 461.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2136, allocations: 20.19 kB / 461.2 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2138, allocations: 26.33 kB / 461.3 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.2139, allocations: 45.25 kB / 461.3 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.2139, allocations: 12.44 kB / 461.3 MB, free: 44.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.214, allocations: 207 kB / 461.5 MB, free: 44.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.214, allocations: 0 / 461.5 MB, free: 44.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004406/0.2145, allocations: 143.5 kB / 461.7 MB, free: 44.54 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.001131/0.2156, allocations: 1.828 MB / 463.5 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.2166, allocations: 1.265 MB / 464.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2166, allocations: 0 / 464.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.2171, allocations: 0.7449 MB / 465.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2175, allocations: 73.62 kB / 465.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.2221, allocations: 6.298 MB / 471.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2223, allocations: 307.7 kB / 472.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.2225, allocations: 102.9 kB / 472.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2226, allocations: 158.9 kB / 472.4 MB, free: 39.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.2227, allocations: 0 / 472.4 MB, free: 39.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.2519, allocations: 11.26 MB / 483.7 MB, free: 37.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.407, allocations: 0 / 483.7 MB, free: 37.36 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.417858663015068] Failed to read output from testmodel.py, exit status != 0: 7.495093382894993 7.50475628 7.491643989 Calling exit ...