Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001849/0.001849, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009507, allocations: 87.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2016/0.2016, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.441e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.566, allocations: 88.69 MB / 0.5427 GB, free: 6.184 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5664, allocations: 79.95 kB / 0.5427 GB, free: 6.105 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.5872, allocations: 5.682 MB / 0.5483 GB, free: 448 kB / 379.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5872, allocations: 0 / 0.5483 GB, free: 448 kB / 379.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.5873, allocations: 0 / 0.5483 GB, free: 448 kB / 379.1 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.0006169/0.5879, allocations: 456.6 kB / 0.5487 GB, free: 15.94 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5879, allocations: 8.031 kB / 0.5487 GB, free: 15.93 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.588, allocations: 15.84 kB / 0.5487 GB, free: 15.92 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.5882, allocations: 194.7 kB / 0.5489 GB, free: 15.69 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.5883, allocations: 8.812 kB / 0.5489 GB, free: 15.68 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5883, allocations: 4 kB / 0.5489 GB, free: 15.68 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/0.5884, allocations: 51.97 kB / 0.549 GB, free: 15.62 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5886, allocations: 89.66 kB / 0.5491 GB, free: 15.53 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.5886, allocations: 0 / 0.5491 GB, free: 15.53 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5886, allocations: 4 kB / 0.5491 GB, free: 15.53 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5886, allocations: 7.953 kB / 0.5491 GB, free: 15.52 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.5888, allocations: 150.1 kB / 0.5492 GB, free: 15.34 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.5889, allocations: 130.5 kB / 0.5494 GB, free: 15.2 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.5891, allocations: 120.8 kB / 0.5495 GB, free: 15.08 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.5891, allocations: 0 / 0.5495 GB, free: 15.08 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5891, allocations: 38.56 kB / 0.5495 GB, free: 15.03 MB / 395.1 MB Notification: Performance of pre-optimization done (n=20): time 1.042e-06/0.5891, allocations: 0 / 0.5495 GB, free: 15.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.0003495/0.5895, allocations: 173.8 kB / 0.5497 GB, free: 14.86 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.5896, allocations: 93.09 kB / 0.5498 GB, free: 14.75 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5897, allocations: 118.9 kB / 0.5499 GB, free: 14.62 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5897, allocations: 25.7 kB / 0.5499 GB, free: 14.59 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.5898, allocations: 96.45 kB / 0.55 GB, free: 14.49 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.5899, allocations: 63.02 kB / 0.55 GB, free: 14.43 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.5899, allocations: 0 / 0.55 GB, free: 14.43 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.59, allocations: 322.8 kB / 0.5504 GB, free: 14.1 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.5901, allocations: 63.94 kB / 0.5504 GB, free: 14.04 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.5902, allocations: 55.97 kB / 0.5505 GB, free: 13.98 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.5903, allocations: 67.89 kB / 0.5505 GB, free: 13.92 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5903, allocations: 0 / 0.5505 GB, free: 13.92 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002711/0.5906, allocations: 169.4 kB / 0.5507 GB, free: 13.75 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.5907, allocations: 58.3 kB / 0.5508 GB, free: 13.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5907, allocations: 0 / 0.5508 GB, free: 13.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5907, allocations: 7.953 kB / 0.5508 GB, free: 13.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-06/0.5907, allocations: 3.984 kB / 0.5508 GB, free: 13.67 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5907, allocations: 3.938 kB / 0.5508 GB, free: 13.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.5908, allocations: 19.91 kB / 0.5508 GB, free: 13.65 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.5908, allocations: 4 kB / 0.5508 GB, free: 13.64 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.591, allocations: 164.5 kB / 0.5509 GB, free: 13.47 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003832/0.5914, allocations: 281.3 kB / 0.5512 GB, free: 13.19 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.5914, allocations: 11.91 kB / 0.5512 GB, free: 13.18 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.5914, allocations: 8.75 kB / 0.5512 GB, free: 13.17 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5914, allocations: 0 / 0.5512 GB, free: 13.17 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5914, allocations: 0 / 0.5512 GB, free: 13.17 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5914, allocations: 0 / 0.5512 GB, free: 13.17 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.5916, allocations: 170 kB / 0.5514 GB, free: 12.97 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5916, allocations: 4.031 kB / 0.5514 GB, free: 12.96 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.5916, allocations: 4 kB / 0.5514 GB, free: 12.96 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5916, allocations: 3.984 kB / 0.5514 GB, free: 12.96 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5916, allocations: 4 kB / 0.5514 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.5916, allocations: 0 / 0.5514 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5916, allocations: 0 / 0.5514 GB, free: 12.95 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.592, allocations: 308.9 kB / 0.5517 GB, free: 12.63 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.5921, allocations: 88.95 kB / 0.5518 GB, free: 12.53 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.5921, allocations: 11.98 kB / 0.5518 GB, free: 12.52 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.5922, allocations: 4 kB / 0.5518 GB, free: 12.51 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.5922, allocations: 7.938 kB / 0.5518 GB, free: 12.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5922, allocations: 11.98 kB / 0.5518 GB, free: 12.49 MB / 395.1 MB Notification: Performance of sorting global known variables: time 6.851e-05/0.5923, allocations: 111.1 kB / 0.5519 GB, free: 12.38 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5923, allocations: 0 / 0.5519 GB, free: 12.38 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.5928, allocations: 131.9 kB / 0.5521 GB, free: 12.25 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.5941, allocations: 1.082 MB / 0.5531 GB, free: 11.14 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0006235/0.5947, allocations: 0.55 MB / 0.5537 GB, free: 10.58 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5948, allocations: 0 / 0.5537 GB, free: 10.58 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.5952, allocations: 467.2 kB / 0.5541 GB, free: 10.11 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.5954, allocations: 16.09 kB / 0.5541 GB, free: 10.1 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.5961, allocations: 402.2 kB / 0.5545 GB, free: 9.664 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.5965, allocations: 0.7197 MB / 0.5552 GB, free: 8.918 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.5965, allocations: 0 / 0.5552 GB, free: 8.918 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.5965, allocations: 27.42 kB / 0.5552 GB, free: 8.891 MB / 395.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5965, allocations: 0 / 0.5552 GB, free: 8.891 MB / 395.1 MB [CodegenCFunctions.tpl:4892:15-4892:15:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2].