Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001256/0.001256, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001471/0.001471, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1844/0.1844, allocations: 38.51 MB / 348.7 MB, free: 2.57 MB / 270.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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.003109/0.003109, allocations: 63.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1685, allocations: 62.42 MB / 0.5367 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.01099/0.1795, allocations: 4.628 MB / 0.5412 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.1839, allocations: 1.519 MB / 0.5427 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.1844, allocations: 19.81 kB / 0.5427 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.1859, allocations: 386 kB / 0.5431 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008598/0.1868, allocations: 242.8 kB / 0.5433 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1879, allocations: 259.3 kB / 0.5435 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.189, allocations: 0.5611 MB / 0.5441 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.1897, allocations: 270.5 kB / 0.5443 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.1903, allocations: 271 kB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.1911, allocations: 334.9 kB / 0.5449 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-05/0.1912, allocations: 36 kB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.1917, allocations: 159.7 kB / 0.5451 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.1921, allocations: 231.4 kB / 0.5453 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.1925, allocations: 246.8 kB / 0.5456 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1936, allocations: 0.6031 MB / 0.5461 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1936, allocations: 0 / 0.5461 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1936, allocations: 0 / 0.5461 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1936, allocations: 4 kB / 0.5462 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001538/0.1951, allocations: 0.7886 MB / 0.5469 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1952, allocations: 8.031 kB / 0.5469 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1953, allocations: 86.7 kB / 0.547 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.196, allocations: 124.5 kB / 0.5471 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.1967, allocations: 416.3 kB / 0.5475 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.1967, allocations: 37.36 kB / 0.5476 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.1969, allocations: 55.92 kB / 0.5476 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.1979, allocations: 0.6372 MB / 0.5482 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1979, allocations: 4 kB / 0.5482 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.198, allocations: 19.98 kB / 0.5483 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.1981, allocations: 32.98 kB / 0.5483 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.1989, allocations: 483.5 kB / 0.5488 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.2027, allocations: 3.018 MB / 0.5517 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.2031, allocations: 165.1 kB / 0.5519 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2032, allocations: 104.4 kB / 0.552 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.2033, allocations: 11.94 kB / 0.552 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2033, allocations: 38.56 kB / 0.552 GB, free: 7.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.435e-06/0.2033, allocations: 0 / 0.552 GB, free: 7.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.001628/0.2049, allocations: 0.8433 MB / 0.5528 GB, free: 6.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.205, allocations: 89.17 kB / 0.5529 GB, free: 6.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.2055, allocations: 349.6 kB / 0.5533 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.2055, allocations: 25.7 kB / 0.5533 GB, free: 6.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.2058, allocations: 315.8 kB / 0.5536 GB, free: 5.738 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.2059, allocations: 83.33 kB / 0.5537 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.206, allocations: 82.08 kB / 0.5537 GB, free: 5.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.2063, allocations: 346.8 kB / 0.5541 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2065, allocations: 124.8 kB / 0.5542 GB, free: 5.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.2069, allocations: 330.8 kB / 0.5545 GB, free: 4.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.2077, allocations: 498.1 kB / 0.555 GB, free: 4.098 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.2077, allocations: 11.88 kB / 0.555 GB, free: 4.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001134/0.2088, allocations: 0.5627 MB / 0.5555 GB, free: 3.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.2088, allocations: 11.98 kB / 0.5555 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005832/0.2094, allocations: 280.3 kB / 0.5558 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.2098, allocations: 80.78 kB / 0.5559 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.2101, allocations: 95.83 kB / 0.556 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.212, allocations: 1.727 MB / 0.5577 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.2123, allocations: 16 kB / 0.5577 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.2124, allocations: 24 kB / 0.5577 GB, free: 1.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0003495/0.2127, allocations: 229.5 kB / 0.5579 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.2128, allocations: 31.77 kB / 0.558 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.2134, allocations: 292.8 kB / 0.5582 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2134, allocations: 0 / 0.5582 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2134, allocations: 4 kB / 0.5582 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2134, allocations: 0 / 0.5582 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.2147, allocations: 0.7926 MB / 0.559 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.2147, allocations: 4 kB / 0.559 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.215, allocations: 51.91 kB / 0.5591 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.215, allocations: 4 kB / 0.5591 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.2151, allocations: 11.98 kB / 0.5591 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2151, allocations: 3.938 kB / 0.5591 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2151, allocations: 3.938 kB / 0.5591 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.2157, allocations: 489.7 kB / 0.5596 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.2158, allocations: 104.9 kB / 0.5597 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2158, allocations: 7.938 kB / 0.5597 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.216, allocations: 12.22 kB / 0.5597 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.216, allocations: 19.98 kB / 0.5597 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2161, allocations: 8 kB / 0.5597 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.2163, allocations: 235.2 kB / 0.5599 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2163, allocations: 0 / 0.5599 GB, free: 14.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.2169, allocations: 96 kB / 0.56 GB, free: 14.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.001006/0.2179, allocations: 1.015 MB / 0.561 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.2187, allocations: 439.2 kB / 0.5614 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2187, allocations: 0 / 0.5614 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.2189, allocations: 103.9 kB / 0.5615 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.2194, allocations: 69.27 kB / 0.5616 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.2249, allocations: 4.003 MB / 0.5655 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.2254, allocations: 0.8662 MB / 0.5663 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.2257, allocations: 111.2 kB / 0.5665 GB, free: 7.703 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.2259, allocations: 147.4 kB / 0.5666 GB, free: 7.559 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2259, allocations: 0 / 0.5666 GB, free: 7.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.2614, allocations: 7.508 MB / 0.5739 GB, free: 164 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.68, allocations: 4 kB / 0.5739 GB, free: 160 kB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.574722475997987] Failed to read output from testmodel.py, exit status != 0: 10.763565123997978 10.790744136 10.591879728 Calling exit ...