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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1884/0.1884, allocations: 38.51 MB / 342.5 MB, free: 8.051 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 64.45 kB / 478.6 MB, free: 33.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 61.26 MB / 0.5272 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003692/0.1242, allocations: 2.149 MB / 0.5293 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1276, allocations: 2.058 MB / 0.5313 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.1276, allocations: 0 / 0.5313 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1278, allocations: 19.91 kB / 0.5314 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1279, allocations: 43.75 kB / 0.5314 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1302, allocations: 0.825 MB / 0.5322 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1304, allocations: 95.62 kB / 0.5323 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.1304, allocations: 7.844 kB / 0.5323 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.1305, allocations: 39.83 kB / 0.5324 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1306, allocations: 59.75 kB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1306, allocations: 4 kB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.1331, allocations: 1.583 MB / 0.534 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.1332, allocations: 43.77 kB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1332, allocations: 35.73 kB / 0.534 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1349, allocations: 1.332 MB / 0.5353 GB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1349, allocations: 0 / 0.5353 GB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1349, allocations: 0 / 0.5353 GB, free: 9.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1349, allocations: 0 / 0.5353 GB, free: 9.016 MB / 398.1 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.0007756/0.1357, allocations: 0.5462 MB / 0.5359 GB, free: 8.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1358, allocations: 15.89 kB / 0.5359 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/0.1358, allocations: 62.53 kB / 0.5359 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1359, allocations: 20.8 kB / 0.536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1362, allocations: 203.2 kB / 0.5362 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1362, allocations: 11.94 kB / 0.5362 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1362, allocations: 4 kB / 0.5362 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1365, allocations: 119.7 kB / 0.5363 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1365, allocations: 0 / 0.5363 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1365, allocations: 4 kB / 0.5363 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1365, allocations: 8 kB / 0.5363 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1367, allocations: 76.11 kB / 0.5364 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.1373, allocations: 361 kB / 0.5367 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1375, allocations: 58.44 kB / 0.5368 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1376, allocations: 48.86 kB / 0.5368 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1376, allocations: 0 / 0.5368 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.232e-05/0.1377, allocations: 34.56 kB / 0.5368 GB, free: 7.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.1377, allocations: 0 / 0.5368 GB, free: 7.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004869/0.1382, allocations: 227.3 kB / 0.5371 GB, free: 7.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.1383, allocations: 89.09 kB / 0.5372 GB, free: 6.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1384, allocations: 150.2 kB / 0.5373 GB, free: 6.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1384, allocations: 25.7 kB / 0.5373 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.1385, allocations: 120 kB / 0.5374 GB, free: 6.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.1386, allocations: 43.59 kB / 0.5375 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.1387, allocations: 29.73 kB / 0.5375 GB, free: 6.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1388, allocations: 322.8 kB / 0.5378 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.1389, allocations: 39.97 kB / 0.5378 GB, free: 6.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.139, allocations: 35.98 kB / 0.5379 GB, free: 6.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1392, allocations: 178.9 kB / 0.5381 GB, free: 5.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1392, allocations: 0 / 0.5381 GB, free: 5.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002465/0.1395, allocations: 179.2 kB / 0.5382 GB, free: 5.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.1395, allocations: 49.69 kB / 0.5383 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1395, allocations: 0 / 0.5383 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1395, allocations: 8 kB / 0.5383 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1395, allocations: 0 / 0.5383 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1395, allocations: 7.984 kB / 0.5383 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.1396, allocations: 15.83 kB / 0.5383 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1396, allocations: 8 kB / 0.5383 GB, free: 5.695 MB / 398.1 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.0001887/0.1398, allocations: 175.4 kB / 0.5385 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1399, allocations: 15.91 kB / 0.5385 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.1399, allocations: 12.84 kB / 0.5385 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1399, allocations: 0 / 0.5385 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1399, allocations: 4 kB / 0.5385 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1399, allocations: 3.984 kB / 0.5385 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1401, allocations: 209.5 kB / 0.5387 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1401, allocations: 0 / 0.5387 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.1401, allocations: 0 / 0.5387 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1401, allocations: 0 / 0.5387 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1401, allocations: 4 kB / 0.5387 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1401, allocations: 0 / 0.5387 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1401, allocations: 0 / 0.5387 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.1406, allocations: 380.9 kB / 0.5391 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1406, allocations: 89 kB / 0.5392 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1407, allocations: 4 kB / 0.5392 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.1407, allocations: 0 / 0.5392 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1408, allocations: 4 kB / 0.5392 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.1408, allocations: 4 kB / 0.5392 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1409, allocations: 114.5 kB / 0.5393 GB, free: 4.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1409, allocations: 4 kB / 0.5393 GB, free: 4.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001124/0.142, allocations: 339.3 kB / 0.5396 GB, free: 4.258 MB / 398.1 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.002183/0.1442, allocations: 1.286 MB / 0.5409 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1446, allocations: 246.5 kB / 0.5411 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1446, allocations: 4.094 kB / 0.5411 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1448, allocations: 167.3 kB / 0.5413 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1452, allocations: 14.33 kB / 0.5413 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.1486, allocations: 2.311 MB / 0.5435 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1491, allocations: 0.7275 MB / 0.5442 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.396e-05/0.1492, allocations: 8.031 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1492, allocations: 35.42 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1492, allocations: 3.938 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB [CodegenCFunctions.tpl:5632:13-5632: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: 3.044154290109873] Failed to read output from testmodel.py, exit status != 0: 0.1813869308680296 0.197963148 0.05988965500000001 Calling exit ...