Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001305/0.001305, allocations: 110.5 kB / 20.43 MB, free: 4.594 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.002298/0.002298, allocations: 221.5 kB / 23.73 MB, free: 2.133 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.993/0.993, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.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.1571/0.1571, allocations: 38.57 MB / 352.5 MB, free: 11.33 MB / 282.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.00163/0.00163, allocations: 75.89 kB / 493.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 62.47 MB / 0.5427 GB, free: 5.992 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003231/0.1325, allocations: 2.226 MB / 0.5449 GB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1338, allocations: 1.034 MB / 0.5459 GB, free: 2.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.1338, allocations: 0 / 0.5459 GB, free: 2.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.134, allocations: 19.84 kB / 0.5459 GB, free: 2.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1341, allocations: 47.8 kB / 0.546 GB, free: 2.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.135, allocations: 335.1 kB / 0.5463 GB, free: 2.309 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1352, allocations: 115.5 kB / 0.5464 GB, free: 2.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.1352, allocations: 11.92 kB / 0.5464 GB, free: 2.184 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1354, allocations: 59.81 kB / 0.5465 GB, free: 2.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.1355, allocations: 71.72 kB / 0.5465 GB, free: 2.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1355, allocations: 4 kB / 0.5465 GB, free: 2.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.1361, allocations: 0.5573 MB / 0.5471 GB, free: 1.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.1362, allocations: 35.83 kB / 0.5471 GB, free: 1.457 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.1362, allocations: 39.8 kB / 0.5472 GB, free: 1.418 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1367, allocations: 0.522 MB / 0.5477 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1367, allocations: 0 / 0.5477 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1367, allocations: 0 / 0.5477 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1367, allocations: 0 / 0.5477 GB, free: 0.8945 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004092/0.1371, allocations: 403 kB / 0.5481 GB, free: 476 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1372, allocations: 12.03 kB / 0.5481 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.1373, allocations: 54.64 kB / 0.5481 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1374, allocations: 12.84 kB / 0.5481 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.1375, allocations: 146.3 kB / 0.5483 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1375, allocations: 384 / 0.5483 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1376, allocations: 15.92 kB / 0.5483 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.1378, allocations: 191.3 kB / 0.5485 GB, free: 16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1378, allocations: 0 / 0.5485 GB, free: 16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1378, allocations: 0 / 0.5485 GB, free: 16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1378, allocations: 0 / 0.5485 GB, free: 16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.138, allocations: 149.5 kB / 0.5486 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.1383, allocations: 311.6 kB / 0.5489 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1384, allocations: 128.2 kB / 0.549 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.1385, allocations: 118.5 kB / 0.5491 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1385, allocations: 0 / 0.5491 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1386, allocations: 38.5 kB / 0.5492 GB, free: 15.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 7.92e-07/0.1386, allocations: 0 / 0.5492 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003982/0.139, allocations: 418.7 kB / 0.5496 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.139, allocations: 93.09 kB / 0.5497 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.1391, allocations: 133.8 kB / 0.5498 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1391, allocations: 25.7 kB / 0.5498 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1392, allocations: 112.4 kB / 0.5499 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1392, allocations: 67.42 kB / 0.55 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1392, allocations: 25.66 kB / 0.55 GB, free: 14.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.1393, allocations: 326.8 kB / 0.5503 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.1394, allocations: 113.6 kB / 0.5504 GB, free: 13.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.1395, allocations: 113.6 kB / 0.5505 GB, free: 13.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1397, allocations: 258.6 kB / 0.5508 GB, free: 13.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1397, allocations: 0 / 0.5508 GB, free: 13.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002169/0.1399, allocations: 296 kB / 0.5511 GB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.1399, allocations: 57.67 kB / 0.5511 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1399, allocations: 0 / 0.5511 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1399, allocations: 0 / 0.5511 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.1399, allocations: 0 / 0.5511 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.14, allocations: 0 / 0.5511 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.14, allocations: 19.89 kB / 0.5511 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.14, allocations: 7.984 kB / 0.5512 GB, free: 13.04 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.0001138/0.1401, allocations: 179.5 kB / 0.5513 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1402, allocations: 19.92 kB / 0.5513 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.1402, allocations: 17.11 kB / 0.5514 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1402, allocations: 3.984 kB / 0.5514 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1402, allocations: 0 / 0.5514 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1402, allocations: 0 / 0.5514 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1404, allocations: 168.7 kB / 0.5515 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1404, allocations: 0 / 0.5515 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-06/0.1404, allocations: 3.938 kB / 0.5515 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1404, allocations: 0 / 0.5515 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1404, allocations: 4 kB / 0.5515 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1404, allocations: 7.984 kB / 0.5515 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1404, allocations: 4 kB / 0.5515 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1408, allocations: 0.5025 MB / 0.552 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1408, allocations: 19.78 kB / 0.5521 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1408, allocations: 4 kB / 0.5521 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.1409, allocations: 7.984 kB / 0.5521 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1409, allocations: 4 kB / 0.5521 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1409, allocations: 8 kB / 0.5521 GB, free: 12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.1409, allocations: 102.2 kB / 0.5522 GB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1409, allocations: 0 / 0.5522 GB, free: 11.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.1413, allocations: 143.7 kB / 0.5523 GB, free: 11.77 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.001048/0.1423, allocations: 1.365 MB / 0.5536 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1427, allocations: 426.6 kB / 0.554 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1427, allocations: 3.938 kB / 0.5541 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.1429, allocations: 261 kB / 0.5543 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1431, allocations: 14.58 kB / 0.5543 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1451, allocations: 2.767 MB / 0.557 GB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.589e-05/0.1452, allocations: 117.1 kB / 0.5571 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1452, allocations: 0 / 0.5571 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.1453, allocations: 39.42 kB / 0.5572 GB, free: 6.57 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1453, allocations: 0 / 0.5572 GB, free: 6.57 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.677198376506567]