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.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002215/0.002215, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2137/0.2137, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.83 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2975, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006128/0.3037, allocations: 4.412 MB / 0.5462 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.3062, allocations: 1.347 MB / 0.5476 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.3064, allocations: 20.41 kB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.3073, allocations: 304.7 kB / 0.5479 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006075/0.3079, allocations: 275.4 kB / 0.5481 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3086, allocations: 269.8 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006989/0.3093, allocations: 0.6478 MB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.3097, allocations: 224.7 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.3102, allocations: 310.5 kB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.3107, allocations: 448.7 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.3108, allocations: 46.16 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.3112, allocations: 220 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.3115, allocations: 250.3 kB / 0.5505 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.3118, allocations: 246.1 kB / 0.5507 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.3127, allocations: 0.7652 MB / 0.5514 GB, free: 9.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3127, allocations: 1.125 kB / 0.5514 GB, free: 9.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3127, allocations: 0 / 0.5514 GB, free: 9.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3127, allocations: 0 / 0.5514 GB, free: 9.344 MB / 398.1 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.001624/0.3143, allocations: 0.8236 MB / 0.5522 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3143, allocations: 17.58 kB / 0.5523 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.3145, allocations: 96.38 kB / 0.5524 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/0.3152, allocations: 127.5 kB / 0.5525 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.3159, allocations: 378 kB / 0.5528 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.316, allocations: 28.59 kB / 0.5529 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.3161, allocations: 43.45 kB / 0.5529 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3174, allocations: 0.9342 MB / 0.5538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3175, allocations: 2.062 kB / 0.5538 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.3176, allocations: 21.39 kB / 0.5538 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.3177, allocations: 63.3 kB / 0.5539 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.319, allocations: 0.8693 MB / 0.5547 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.323, allocations: 2.529 MB / 0.5572 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.324, allocations: 0.5618 MB / 0.5578 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.3245, allocations: 436.3 kB / 0.5582 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.3246, allocations: 8 kB / 0.5582 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3246, allocations: 34.55 kB / 0.5582 GB, free: 3.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.214e-06/0.3246, allocations: 3.938 kB / 0.5582 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003234/0.3278, allocations: 2.013 MB / 0.5602 GB, free: 1.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.328, allocations: 138.8 kB / 0.5603 GB, free: 1.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.3283, allocations: 304.3 kB / 0.5606 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.3283, allocations: 33.7 kB / 0.5606 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3285, allocations: 264.9 kB / 0.5609 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.3287, allocations: 198.3 kB / 0.5611 GB, free: 268 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3289, allocations: 94.08 kB / 0.5612 GB, free: 168 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3291, allocations: 358.8 kB / 0.5615 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.3296, allocations: 422.7 kB / 0.5619 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.3303, allocations: 0.5561 MB / 0.5625 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3316, allocations: 1.011 MB / 0.5635 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3316, allocations: 0 / 0.5635 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001606/0.3332, allocations: 1.08 MB / 0.5645 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.3334, allocations: 77.59 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3334, allocations: 4 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.3336, allocations: 45.39 kB / 0.5646 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.3339, allocations: 79.89 kB / 0.5647 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3353, allocations: 1.451 MB / 0.5661 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3356, allocations: 27.97 kB / 0.5662 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.3357, allocations: 35.86 kB / 0.5662 GB, free: 10.75 MB / 414.1 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.0004045/0.3361, allocations: 300.9 kB / 0.5665 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3362, allocations: 43.72 kB / 0.5665 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.338, allocations: 1.147 MB / 0.5676 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.338, allocations: 12 kB / 0.5676 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.338, allocations: 0 / 0.5676 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.338, allocations: 3.984 kB / 0.5676 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.3408, allocations: 1.764 MB / 0.5694 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3408, allocations: 0 / 0.5694 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.3411, allocations: 55.97 kB / 0.5694 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.3412, allocations: 40.83 kB / 0.5695 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.3412, allocations: 15.98 kB / 0.5695 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3425, allocations: 1.444 MB / 0.5709 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3425, allocations: 7.969 kB / 0.5709 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3442, allocations: 1.238 MB / 0.5721 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.3445, allocations: 91.72 kB / 0.5722 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.3446, allocations: 24.05 kB / 0.5722 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.3448, allocations: 27.97 kB / 0.5722 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.345, allocations: 47.81 kB / 0.5723 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.345, allocations: 19.98 kB / 0.5723 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.3453, allocations: 199.1 kB / 0.5725 GB, free: 4.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 0.5725 GB, free: 4.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.3459, allocations: 144 kB / 0.5726 GB, free: 3.863 MB / 414.1 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.002434/0.3483, allocations: 1.822 MB / 0.5744 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.3502, allocations: 1.275 MB / 0.5757 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3502, allocations: 1.125 kB / 0.5757 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009659/0.3511, allocations: 0.7422 MB / 0.5764 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.3517, allocations: 83.72 kB / 0.5765 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.3602, allocations: 6.328 MB / 0.5826 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3606, allocations: 306.5 kB / 0.5829 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.3609, allocations: 99.19 kB / 0.583 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3612, allocations: 163.3 kB / 0.5832 GB, free: 8.672 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3612, allocations: 0 / 0.5832 GB, free: 8.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/0.4055, allocations: 11.33 MB / 0.5942 GB, free: 13.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.15, allocations: 7.844 kB / 0.5943 GB, free: 13.5 MB / 446.1 MB " [Timeout remaining time 648] (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: 15.135028774966486] Failed to read output from testmodel.py, exit status != 0: 12.26857153099263 12.296144551 11.978609397 Calling exit ...