Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0009441/0.0009441, allocations: 108.9 kB / 20.43 MB, free: 4.598 MB / 13.93 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.0009476/0.0009476, allocations: 221.5 kB / 23.73 MB, free: 2.125 MB / 13.93 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.8719/0.8719, allocations: 230.6 MB / 257.5 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1199/0.1199, allocations: 38.58 MB / 352.5 MB, free: 11.41 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",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.001601/0.001601, allocations: 71.89 kB / 493.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09506, allocations: 62.48 MB / 0.5428 GB, free: 5.977 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002355/0.09742, allocations: 2.183 MB / 0.5449 GB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.09912, allocations: 1.904 MB / 0.5468 GB, free: 1.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.09915, allocations: 0 / 0.5468 GB, free: 1.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.09925, allocations: 15.86 kB / 0.5468 GB, free: 1.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.09932, allocations: 27.83 kB / 0.5468 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1006, allocations: 0.9588 MB / 0.5477 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.1007, allocations: 71.75 kB / 0.5478 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.1007, allocations: 12.17 kB / 0.5478 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.1008, allocations: 47.78 kB / 0.5479 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.1009, allocations: 39.88 kB / 0.5479 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.1009, allocations: 4 kB / 0.5479 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.1025, allocations: 1.894 MB / 0.5497 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.1025, allocations: 19.86 kB / 0.5498 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1025, allocations: 23.81 kB / 0.5498 GB, free: 14.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.1034, allocations: 1.329 MB / 0.5511 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1034, allocations: 0 / 0.5511 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1034, allocations: 4 kB / 0.5511 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1034, allocations: 0 / 0.5511 GB, free: 13.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004153/0.1039, allocations: 462.3 kB / 0.5515 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1039, allocations: 11.97 kB / 0.5515 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.1039, allocations: 46.67 kB / 0.5516 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1039, allocations: 4.891 kB / 0.5516 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1041, allocations: 133.4 kB / 0.5517 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1041, allocations: 0 / 0.5517 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1041, allocations: 4 kB / 0.5517 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1042, allocations: 115.4 kB / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.1042, allocations: 0 / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-06/0.1042, allocations: 0 / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1042, allocations: 0 / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.1043, allocations: 81.61 kB / 0.5519 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.1044, allocations: 148.6 kB / 0.5521 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.1044, allocations: 96.25 kB / 0.5521 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.1045, allocations: 82.56 kB / 0.5522 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1045, allocations: 7.969 kB / 0.5522 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1045, allocations: 38.56 kB / 0.5523 GB, free: 12.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1045, allocations: 0 / 0.5523 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.000254/0.1048, allocations: 290.6 kB / 0.5525 GB, free: 11.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1048, allocations: 93.09 kB / 0.5526 GB, free: 11.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.1049, allocations: 125.8 kB / 0.5528 GB, free: 11.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.1049, allocations: 25.7 kB / 0.5528 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.1049, allocations: 92.14 kB / 0.5529 GB, free: 11.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.105, allocations: 43.64 kB / 0.5529 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.105, allocations: 25.7 kB / 0.5529 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.1051, allocations: 322.8 kB / 0.5532 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.1051, allocations: 81.67 kB / 0.5533 GB, free: 10.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.1052, allocations: 85.86 kB / 0.5534 GB, free: 10.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1053, allocations: 176.2 kB / 0.5536 GB, free: 10.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1053, allocations: 0 / 0.5536 GB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001743/0.1055, allocations: 212.9 kB / 0.5538 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.1055, allocations: 53.67 kB / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1055, allocations: 0 / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1055, allocations: 0 / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-06/0.1055, allocations: 0 / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1056, allocations: 0 / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1056, allocations: 19.83 kB / 0.5538 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1056, allocations: 4 kB / 0.5538 GB, free: 10.29 MB / 426.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 0.0001061/0.1057, allocations: 163.6 kB / 0.554 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.1058, allocations: 11.95 kB / 0.554 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.1058, allocations: 12.7 kB / 0.554 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1058, allocations: 0 / 0.554 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1058, allocations: 0 / 0.554 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1058, allocations: 11.88 kB / 0.554 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.092e-05/0.1059, allocations: 144.7 kB / 0.5542 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1059, allocations: 0 / 0.5542 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.1059, allocations: 0 / 0.5542 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1059, allocations: 0 / 0.5542 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1059, allocations: 8 kB / 0.5542 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1059, allocations: 0 / 0.5542 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1059, allocations: 0 / 0.5542 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1061, allocations: 336.6 kB / 0.5545 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.1061, allocations: 11.89 kB / 0.5545 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1061, allocations: 4 kB / 0.5545 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.1061, allocations: 4 kB / 0.5545 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1062, allocations: 0 / 0.5545 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1062, allocations: 11.92 kB / 0.5545 GB, free: 9.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1062, allocations: 102.2 kB / 0.5546 GB, free: 9.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1062, allocations: 0 / 0.5546 GB, free: 9.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006187/0.1068, allocations: 323.4 kB / 0.5549 GB, free: 9.082 MB / 426.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.0009213/0.1077, allocations: 1.123 MB / 0.556 GB, free: 7.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.108, allocations: 310.6 kB / 0.5563 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.108, allocations: 0 / 0.5563 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.1081, allocations: 193 kB / 0.5565 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1082, allocations: 15.98 kB / 0.5565 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1098, allocations: 2.185 MB / 0.5587 GB, free: 5.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.1099, allocations: 87.59 kB / 0.5587 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.1099, allocations: 0 / 0.5587 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.11, allocations: 23.42 kB / 0.5588 GB, free: 4.934 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.11, allocations: 0 / 0.5588 GB, free: 4.934 MB / 426.7 MB [CodegenCFunctions.tpl:5658:13-5658: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.119264497421682]