Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.0008436/0.0008436, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001263/0.001263, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9106/0.9106, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2438/0.2438, allocations: 29.4 MB / 290.1 MB, free: 2.469 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.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.547e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004518/0.004543, allocations: 3.996 MB / 434.2 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.005865, allocations: 0.8803 MB / 435.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.006071, allocations: 19.81 kB / 435.1 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.006274, allocations: 51.5 kB / 435.2 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.006821, allocations: 186.9 kB / 435.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.007041, allocations: 87.75 kB / 435.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.00744, allocations: 414.3 kB / 435.8 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.007639, allocations: 82.61 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.007985, allocations: 239.3 kB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.008224, allocations: 175.5 kB / 436.3 MB, free: 7.469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.00826, allocations: 20 kB / 436.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.008292, allocations: 16 kB / 436.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.008381, allocations: 103.6 kB / 436.5 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.008473, allocations: 99.69 kB / 436.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.00877, allocations: 279.1 kB / 436.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.008776, allocations: 3.984 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008777, allocations: 0 / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008783, allocations: 0 / 436.8 MB, free: 6.957 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008246/0.009608, allocations: 0.5294 MB / 437.4 MB, free: 6.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.009647, allocations: 11.98 kB / 437.4 MB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.009698, allocations: 54.73 kB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.009746, allocations: 40.64 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.0101, allocations: 279.7 kB / 437.7 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.01012, allocations: 16.88 kB / 437.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.01015, allocations: 20.38 kB / 437.8 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.01046, allocations: 299.5 kB / 438.1 MB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.01047, allocations: 0 / 438.1 MB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.01048, allocations: 8 kB / 438.1 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.01049, allocations: 4 kB / 438.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.01069, allocations: 184.9 kB / 438.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.0117, allocations: 1.147 MB / 439.4 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.01195, allocations: 105.2 kB / 439.5 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.012, allocations: 41.77 kB / 439.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.01202, allocations: 8 kB / 439.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01204, allocations: 30.56 kB / 439.6 MB, free: 3.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.01204, allocations: 0 / 439.6 MB, free: 3.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006528/0.01269, allocations: 420.6 kB / 440 MB, free: 3.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.01274, allocations: 85.11 kB / 440.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01294, allocations: 246 kB / 440.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.01295, allocations: 33.7 kB / 440.4 MB, free: 3.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01305, allocations: 204 kB / 440.6 MB, free: 2.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.01308, allocations: 39.81 kB / 440.6 MB, free: 2.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.01313, allocations: 49.66 kB / 440.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.01323, allocations: 334.8 kB / 441 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.01328, allocations: 39.84 kB / 441 MB, free: 2.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.01337, allocations: 135.8 kB / 441.1 MB, free: 2.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.01354, allocations: 180.7 kB / 441.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01354, allocations: 8 kB / 441.3 MB, free: 2.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002105/0.01375, allocations: 209.1 kB / 441.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01377, allocations: 11.98 kB / 441.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01378, allocations: 0 / 441.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01379, allocations: 11.94 kB / 441.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.0139, allocations: 39.92 kB / 441.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.01391, allocations: 4 kB / 441.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.01397, allocations: 8 kB / 441.6 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01398, allocations: 12.44 kB / 441.6 MB, free: 1.781 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.01409, allocations: 165.6 kB / 441.8 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.01412, allocations: 23.86 kB / 441.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.01429, allocations: 131.4 kB / 441.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01429, allocations: 3.984 kB / 441.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01429, allocations: 0 / 441.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.0143, allocations: 4 kB / 441.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.01468, allocations: 442.3 kB / 442.4 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01469, allocations: 7.938 kB / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.01476, allocations: 23.98 kB / 442.4 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01477, allocations: 8.031 kB / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01478, allocations: 96 / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01478, allocations: 3.938 kB / 442.4 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.01478, allocations: 7.938 kB / 442.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.01504, allocations: 271.8 kB / 442.7 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.01507, allocations: 19.89 kB / 442.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01509, allocations: 7.984 kB / 442.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.01515, allocations: 4 kB / 442.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.01517, allocations: 11.92 kB / 442.7 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.01518, allocations: 4 kB / 442.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.01528, allocations: 177.3 kB / 442.9 MB, free: 408 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01528, allocations: 0 / 442.9 MB, free: 408 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.0155, allocations: 44 kB / 442.9 MB, free: 364 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1827/0.1982, allocations: 0.8064 MB / 443.8 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1985, allocations: 107.5 kB / 443.9 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1985, allocations: 0 / 443.9 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.1985, allocations: 43.8 kB / 443.9 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.199, allocations: 60.92 kB / 444 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.2007, allocations: 2.386 MB / 446.3 MB, free: 52.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.636e-05/0.2008, allocations: 168 kB / 446.5 MB, free: 52.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.869e-05/0.2008, allocations: 34.94 kB / 446.5 MB, free: 52.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.2009, allocations: 85.27 kB / 446.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2009, allocations: 0 / 446.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.2227, allocations: 5.439 MB / 452.1 MB, free: 51.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/7.137, allocations: 7.156 kB / 452.1 MB, free: 51.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.111693463288248] Failed to read output from testmodel.py, exit status != 0: 7.2175855515524745 7.223904727 7.213654336 Calling exit ...