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.000932/0.000932, allocations: 91.66 kB / 20.95 MB, free: 3.602 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.001034/0.001034, allocations: 166 kB / 24.26 MB, free: 296 kB / 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.8962/0.8962, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.2158/0.2158, allocations: 29.43 MB / 290.5 MB, free: 2.414 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.694e-06/1.694e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.057e-05, allocations: 2.312 kB / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003947/0.003967, allocations: 4.409 MB / 372.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.005886, allocations: 1.359 MB / 374.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.006087, allocations: 23.81 kB / 374.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.006703, allocations: 286.5 kB / 374.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.007235, allocations: 294.3 kB / 374.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.00779, allocations: 263.2 kB / 375 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.008374, allocations: 0.6702 MB / 375.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.008685, allocations: 208.5 kB / 375.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005062/0.009192, allocations: 398.9 kB / 376.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.00959, allocations: 407 kB / 376.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.009641, allocations: 44 kB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.00993, allocations: 215.6 kB / 376.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.0101, allocations: 267.3 kB / 377.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.01026, allocations: 207.5 kB / 377.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.01088, allocations: 0.7983 MB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01089, allocations: 0 / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01089, allocations: 0 / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.01089, allocations: 0 / 378.2 MB, free: 1.969 MB / 346.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.0009804/0.01187, allocations: 0.8163 MB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.01191, allocations: 11.98 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.17e-05/0.01198, allocations: 94.69 kB / 379.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.01249, allocations: 180.4 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.01292, allocations: 399.7 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.01294, allocations: 33.36 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.013, allocations: 40.38 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.01388, allocations: 0.9391 MB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.01389, allocations: 7.953 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.01393, allocations: 16 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.635e-05/0.01402, allocations: 60.95 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.01483, allocations: 0.8721 MB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.017, allocations: 2.561 MB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.01756, allocations: 0.5541 MB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.01788, allocations: 436.2 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.01791, allocations: 8 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.01793, allocations: 42.5 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.894e-06/0.01794, allocations: 0 / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001895/0.01983, allocations: 2.017 MB / 387.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.01989, allocations: 134.8 kB / 387.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.02009, allocations: 308.4 kB / 387.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.02011, allocations: 33.83 kB / 387.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.02022, allocations: 260.9 kB / 387.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.02032, allocations: 190.3 kB / 388.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.02043, allocations: 106.1 kB / 388.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.02052, allocations: 354.7 kB / 388.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.02084, allocations: 418.6 kB / 389 MB, free: 6.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.02121, allocations: 0.5504 MB / 389.5 MB, free: 6.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.02195, allocations: 1.013 MB / 390.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.02195, allocations: 0 / 390.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000904/0.02286, allocations: 1.094 MB / 391.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.02291, allocations: 77.66 kB / 391.7 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.02292, allocations: 4 kB / 391.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.02306, allocations: 44.77 kB / 391.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.02324, allocations: 87.83 kB / 391.9 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.02401, allocations: 1.444 MB / 393.3 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.02418, allocations: 39.97 kB / 393.3 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.02422, allocations: 32.05 kB / 393.4 MB, free: 2.082 MB / 362.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.000212/0.02443, allocations: 299.2 kB / 393.7 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.02451, allocations: 71.66 kB / 393.7 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009465/0.02546, allocations: 1.135 MB / 394.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.02548, allocations: 12 kB / 394.9 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.02548, allocations: 7.875 kB / 394.9 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02548, allocations: 3.984 kB / 394.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.02709, allocations: 1.769 MB / 396.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02709, allocations: 0 / 396.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.02723, allocations: 55.91 kB / 396.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-05/0.02731, allocations: 36.83 kB / 396.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.02734, allocations: 12 kB / 396.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007669/0.0281, allocations: 1.451 MB / 398.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0281, allocations: 0 / 398.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.02914, allocations: 1.246 MB / 399.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.02926, allocations: 107.6 kB / 399.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.02929, allocations: 12 kB / 399.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.02943, allocations: 27.97 kB / 399.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.02953, allocations: 47.88 kB / 399.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.02956, allocations: 15.98 kB / 399.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.02969, allocations: 203.1 kB / 399.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02969, allocations: 0 / 399.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.03007, allocations: 148 kB / 400 MB, free: 11.16 MB / 378.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.001325/0.0314, allocations: 1.846 MB / 401.9 MB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.03251, allocations: 1.265 MB / 403.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03252, allocations: 0 / 403.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.03311, allocations: 0.7385 MB / 403.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.03348, allocations: 79.2 kB / 403.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.03854, allocations: 6.341 MB / 410.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.03874, allocations: 298.5 kB / 410.6 MB, free: 216 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.03892, allocations: 107.2 kB / 410.7 MB, free: 108 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.03907, allocations: 156.5 kB / 410.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03907, allocations: 0 / 410.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.06332, allocations: 11.36 MB / 422.2 MB, free: 4.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.42, allocations: 13.69 kB / 422.2 MB, free: 4.703 MB / 394.7 MB " [Timeout remaining time 652] (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.252600070089102] Failed to read output from testmodel.py, exit status != 0: 7.510076452046633 7.524616497 7.511092813 Calling exit ...