Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.00105/0.00105, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009716/0.0009716, allocations: 169.3 kB / 23.95 MB, free: 0.6055 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.985/0.985, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.2499/0.2499, allocations: 29.43 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 431.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.935e-05, allocations: 2.281 kB / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002464/0.002483, allocations: 2.23 MB / 434.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.005024, allocations: 1.902 MB / 436 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.005094, allocations: 0 / 436 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.005241, allocations: 11.91 kB / 436 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.005341, allocations: 47.69 kB / 436 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.007115, allocations: 0.9544 MB / 437 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.007261, allocations: 99.55 kB / 437.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.007306, allocations: 7.859 kB / 437.1 MB, free: 6.734 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.007449, allocations: 55.81 kB / 437.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.007532, allocations: 51.86 kB / 437.2 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.007543, allocations: 0 / 437.2 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.009443, allocations: 1.851 MB / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.009501, allocations: 35.84 kB / 439.1 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.009544, allocations: 27.92 kB / 439.1 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.01086, allocations: 1.481 MB / 440.6 MB, free: 3.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01086, allocations: 0 / 440.6 MB, free: 3.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01086, allocations: 3.938 kB / 440.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01087, allocations: 0 / 440.6 MB, free: 3.223 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006117/0.01148, allocations: 493.1 kB / 441.1 MB, free: 2.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.01154, allocations: 15.98 kB / 441.1 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.843e-05/0.01162, allocations: 74.47 kB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.01167, allocations: 12.84 kB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.01185, allocations: 145.5 kB / 441.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.01186, allocations: 8.375 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.01188, allocations: 4.375 kB / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.01208, allocations: 180.5 kB / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01209, allocations: 0 / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.0121, allocations: 0 / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.01211, allocations: 0 / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.841e-05/0.01221, allocations: 121.9 kB / 441.6 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.01256, allocations: 328 kB / 441.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.01267, allocations: 108.2 kB / 442 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.675e-05/0.01273, allocations: 86.52 kB / 442.1 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.01274, allocations: 4 kB / 442.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.01276, allocations: 38.5 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01276, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004874/0.01325, allocations: 333.6 kB / 442.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.01329, allocations: 89.09 kB / 442.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.01338, allocations: 149.4 kB / 442.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.01339, allocations: 33.73 kB / 442.8 MB, free: 0.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.01343, allocations: 112 kB / 442.9 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.01346, allocations: 47.59 kB / 442.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.01349, allocations: 25.7 kB / 442.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.01357, allocations: 322.8 kB / 443.3 MB, free: 324 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.01363, allocations: 85.66 kB / 443.3 MB, free: 232 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.01369, allocations: 81.67 kB / 443.4 MB, free: 144 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1882/0.2019, allocations: 195.1 kB / 443.6 MB, free: 53.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2019, allocations: 0 / 443.6 MB, free: 53.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002182/0.2021, allocations: 231.5 kB / 443.8 MB, free: 53.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.2021, allocations: 53.05 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2022, allocations: 4.562 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2022, allocations: 0.9375 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2022, allocations: 0 / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2022, allocations: 0 / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.2022, allocations: 9.703 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2023, allocations: 7 kB / 443.9 MB, free: 53.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.659e-05/0.2023, allocations: 178.4 kB / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2024, allocations: 16.19 kB / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.2024, allocations: 10.53 kB / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2024, allocations: 0 / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2024, allocations: 0 / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2024, allocations: 7.641 kB / 444.1 MB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2025, allocations: 172.2 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2025, allocations: 2.75 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.2025, allocations: 3.234 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2025, allocations: 3.094 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2025, allocations: 3.156 kB / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2025, allocations: 0 / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2025, allocations: 0 / 444.3 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.2028, allocations: 414.9 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.2028, allocations: 19.31 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.2028, allocations: 3.094 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.2028, allocations: 4.078 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.2029, allocations: 4.344 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2029, allocations: 7.656 kB / 444.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.38e-05/0.2029, allocations: 116.5 kB / 444.9 MB, free: 53.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2029, allocations: 0 / 444.9 MB, free: 53.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008344/0.2037, allocations: 338.5 kB / 445.2 MB, free: 53.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001026/0.2048, allocations: 1.414 MB / 446.6 MB, free: 52.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.205, allocations: 322.1 kB / 446.9 MB, free: 52.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.205, allocations: 0 / 446.9 MB, free: 52.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.2051, allocations: 195.6 kB / 447.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2053, allocations: 12.03 kB / 447.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.2069, allocations: 2.556 MB / 449.7 MB, free: 50.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.2069, allocations: 118.2 kB / 449.8 MB, free: 50.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.2069, allocations: 0 / 449.8 MB, free: 50.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.207, allocations: 39.08 kB / 449.8 MB, free: 50.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.207, allocations: 0 / 449.8 MB, free: 50.55 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.1886565759778023]