Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001951/0.001951, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002211/0.002211, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.639/1.639, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.1877/0.1877, allocations: 38.53 MB / 353.2 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="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.002224/0.002224, allocations: 58.88 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3611, allocations: 62.48 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003824/0.3649, allocations: 2.215 MB / 0.5449 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3685, allocations: 2.106 MB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.3686, allocations: 1.031 kB / 0.547 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3687, allocations: 14.2 kB / 0.547 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3688, allocations: 30.2 kB / 0.547 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.372, allocations: 0.9803 MB / 0.548 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3722, allocations: 79.38 kB / 0.5481 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.3723, allocations: 10.7 kB / 0.5481 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.3725, allocations: 46.98 kB / 0.5481 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3726, allocations: 45.7 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3726, allocations: 1.344 kB / 0.5482 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00464/0.3773, allocations: 2.235 MB / 0.5504 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.3774, allocations: 31.36 kB / 0.5504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.3774, allocations: 37.89 kB / 0.5504 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.3801, allocations: 1.396 MB / 0.5518 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3801, allocations: 1.094 kB / 0.5518 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3801, allocations: 0 / 0.5518 GB, free: 9.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3801, allocations: 0 / 0.5518 GB, free: 9.848 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008978/0.381, allocations: 0.4979 MB / 0.5523 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.381, allocations: 13.56 kB / 0.5523 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.381, allocations: 1.281 kB / 0.5523 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3811, allocations: 38.16 kB / 0.5523 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.3811, allocations: 14.22 kB / 0.5523 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3813, allocations: 152.4 kB / 0.5525 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3813, allocations: 1.062 kB / 0.5525 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3813, allocations: 1.281 kB / 0.5525 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3815, allocations: 98.5 kB / 0.5526 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3815, allocations: 1.312 kB / 0.5526 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3815, allocations: 0 / 0.5526 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3816, allocations: 0 / 0.5526 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.3816, allocations: 70.14 kB / 0.5526 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.3818, allocations: 160.3 kB / 0.5528 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3819, allocations: 76.45 kB / 0.5529 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.382, allocations: 62.53 kB / 0.5529 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.382, allocations: 11.92 kB / 0.5529 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3821, allocations: 31.66 kB / 0.553 GB, free: 8.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.3821, allocations: 0 / 0.553 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005376/0.3826, allocations: 329.2 kB / 0.5533 GB, free: 8.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.3827, allocations: 95.25 kB / 0.5534 GB, free: 8.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3828, allocations: 149.3 kB / 0.5535 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3829, allocations: 26.89 kB / 0.5535 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3829, allocations: 96.02 kB / 0.5536 GB, free: 8.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.383, allocations: 85.78 kB / 0.5537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.3831, allocations: 28.36 kB / 0.5537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3832, allocations: 332.5 kB / 0.5541 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3833, allocations: 60.72 kB / 0.5541 GB, free: 7.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.3834, allocations: 65.12 kB / 0.5542 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3836, allocations: 253.7 kB / 0.5544 GB, free: 7.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3836, allocations: 0 / 0.5544 GB, free: 7.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003009/0.3839, allocations: 237.5 kB / 0.5547 GB, free: 7.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/0.384, allocations: 64.94 kB / 0.5547 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.384, allocations: 4 kB / 0.5547 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.384, allocations: 3.938 kB / 0.5547 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.384, allocations: 1 kB / 0.5547 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.384, allocations: 0 / 0.5547 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.3841, allocations: 13.36 kB / 0.5547 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3841, allocations: 5.812 kB / 0.5547 GB, free: 7.527 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.0001719/0.3843, allocations: 194.9 kB / 0.5549 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.3843, allocations: 21.67 kB / 0.555 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.3844, allocations: 16.47 kB / 0.555 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3844, allocations: 0 / 0.555 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3844, allocations: 5.188 kB / 0.555 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3844, allocations: 0 / 0.555 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3846, allocations: 178.3 kB / 0.5551 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3846, allocations: 1.188 kB / 0.5551 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-06/0.3846, allocations: 3.984 kB / 0.5551 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3846, allocations: 0 / 0.5551 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3846, allocations: 5.906 kB / 0.5552 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3846, allocations: 0 / 0.5552 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3846, allocations: 0 / 0.5552 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.3852, allocations: 0.5287 MB / 0.5557 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.3852, allocations: 15.75 kB / 0.5557 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3853, allocations: 4.375 kB / 0.5557 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.3853, allocations: 4 kB / 0.5557 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3854, allocations: 6.156 kB / 0.5557 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3854, allocations: 6.375 kB / 0.5557 GB, free: 6.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.3855, allocations: 116.5 kB / 0.5558 GB, free: 6.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3855, allocations: 4.031 kB / 0.5558 GB, free: 6.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001186/0.3867, allocations: 346.3 kB / 0.5561 GB, free: 6.48 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.002084/0.3887, allocations: 1.323 MB / 0.5574 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005996/0.3893, allocations: 459.2 kB / 0.5579 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3893, allocations: 0 / 0.5579 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.3897, allocations: 323.2 kB / 0.5582 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.3899, allocations: 14.06 kB / 0.5582 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.3934, allocations: 2.683 MB / 0.5608 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3938, allocations: 0.7316 MB / 0.5615 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.3938, allocations: 4.031 kB / 0.5615 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.3939, allocations: 31.42 kB / 0.5616 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3939, allocations: 0 / 0.5616 GB, free: 0.7656 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.256677662022412] Failed to read output from testmodel.py, exit status != 0: 0.43402417202014476 0.449462579 0.0660255 Calling exit ...