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.001267/0.001267, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001576/0.001576, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.472/1.472, 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.1827/0.1827, allocations: 38.54 MB / 352.5 MB, free: 12.38 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.002148/0.002148, allocations: 67.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.29, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007255/0.2972, allocations: 4.419 MB / 0.5463 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2999, allocations: 1.348 MB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.3003, allocations: 20.47 kB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.3013, allocations: 295.6 kB / 0.5479 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007499/0.3021, allocations: 279.6 kB / 0.5481 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.3028, allocations: 266.5 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.3038, allocations: 0.6549 MB / 0.549 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.3042, allocations: 209.5 kB / 0.5492 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.3049, allocations: 318.6 kB / 0.5495 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.3057, allocations: 429.4 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.3059, allocations: 45.12 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005743/0.3065, allocations: 224 kB / 0.5502 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.3068, allocations: 246 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.3074, allocations: 249.6 kB / 0.5507 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.3087, allocations: 0.758 MB / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3087, allocations: 1.156 kB / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3087, allocations: 0 / 0.5514 GB, free: 9.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.77e-05/0.3088, allocations: 0 / 0.5514 GB, free: 9.355 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.002809/0.3116, allocations: 0.8273 MB / 0.5522 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3116, allocations: 13.86 kB / 0.5522 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/0.3119, allocations: 95.22 kB / 0.5523 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/0.3127, allocations: 127.5 kB / 0.5525 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.3137, allocations: 377.6 kB / 0.5528 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.3137, allocations: 30.88 kB / 0.5528 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3139, allocations: 46.17 kB / 0.5529 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.3154, allocations: 0.9307 MB / 0.5538 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3154, allocations: 1.75 kB / 0.5538 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.3155, allocations: 24.95 kB / 0.5538 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.3156, allocations: 62.77 kB / 0.5539 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3171, allocations: 0.8766 MB / 0.5547 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.3212, allocations: 2.529 MB / 0.5572 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.3221, allocations: 0.5579 MB / 0.5577 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.3227, allocations: 436.3 kB / 0.5582 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3228, allocations: 11.92 kB / 0.5582 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3228, allocations: 38.56 kB / 0.5582 GB, free: 3.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.304e-06/0.3228, allocations: 3.938 kB / 0.5582 GB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003326/0.3261, allocations: 2.001 MB / 0.5602 GB, free: 1.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.3262, allocations: 146.7 kB / 0.5603 GB, free: 1.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.3266, allocations: 300.3 kB / 0.5606 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.3266, allocations: 37.64 kB / 0.5606 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3268, allocations: 268.9 kB / 0.5609 GB, free: 452 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.327, allocations: 190.3 kB / 0.5611 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3272, allocations: 110.2 kB / 0.5612 GB, free: 144 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3274, allocations: 354.8 kB / 0.5615 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.328, allocations: 414.6 kB / 0.5619 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.3287, allocations: 0.5523 MB / 0.5624 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.33, allocations: 1.015 MB / 0.5634 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.33, allocations: 0 / 0.5634 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001687/0.3317, allocations: 1.077 MB / 0.5645 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.3318, allocations: 77.59 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3318, allocations: 4.562 kB / 0.5646 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.332, allocations: 44.83 kB / 0.5646 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.3324, allocations: 87.83 kB / 0.5647 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3338, allocations: 1.436 MB / 0.5661 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3341, allocations: 35.95 kB / 0.5661 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.3342, allocations: 31.92 kB / 0.5662 GB, free: 10.74 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.0004127/0.3346, allocations: 299.4 kB / 0.5664 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3347, allocations: 43.72 kB / 0.5665 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3365, allocations: 1.147 MB / 0.5676 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.3365, allocations: 8 kB / 0.5676 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3365, allocations: 0 / 0.5676 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3366, allocations: 8.125 kB / 0.5676 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.3395, allocations: 1.768 MB / 0.5694 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3396, allocations: 16 kB / 0.5694 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3398, allocations: 51.91 kB / 0.5694 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.34, allocations: 36.83 kB / 0.5695 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.34, allocations: 12 kB / 0.5695 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.3414, allocations: 1.44 MB / 0.5709 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.3414, allocations: 3.984 kB / 0.5709 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3432, allocations: 1.234 MB / 0.5721 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.3435, allocations: 99.67 kB / 0.5722 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.3436, allocations: 15.98 kB / 0.5722 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.3439, allocations: 23.97 kB / 0.5722 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.344, allocations: 55.75 kB / 0.5723 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.3441, allocations: 12 kB / 0.5723 GB, free: 4.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3443, allocations: 207.1 kB / 0.5725 GB, free: 4 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3443, allocations: 0 / 0.5725 GB, free: 4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006924/0.345, allocations: 148 kB / 0.5726 GB, free: 3.855 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.002235/0.3473, allocations: 1.822 MB / 0.5744 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.3491, allocations: 1.269 MB / 0.5756 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3491, allocations: 128 / 0.5756 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.3501, allocations: 0.7498 MB / 0.5764 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3506, allocations: 79.47 kB / 0.5764 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/0.3591, allocations: 6.338 MB / 0.5826 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3595, allocations: 298.5 kB / 0.5829 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.3598, allocations: 103.2 kB / 0.583 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.36, allocations: 159.4 kB / 0.5832 GB, free: 8.664 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.36, allocations: 0 / 0.5832 GB, free: 8.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.4066, allocations: 11.12 MB / 0.594 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 4 kB / 0.594 GB, free: 13.7 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.142582026775926] Failed to read output from testmodel.py, exit status != 0: 12.487118179909885 12.511874617 12.198349572 Calling exit ...