Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00264/0.00264, allocations: 364.4 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.734/3.734, allocations: 388.9 MB / 406.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003586/0.003586, allocations: 241.2 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.736/0.736, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004573, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 53.24 MB / 0.6742 GB, free: 60.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5542, allocations: 91.52 MB / 0.7636 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5546, allocations: 102.1 kB / 0.7637 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04826/0.6028, allocations: 12.47 MB / 0.7759 GB, free: 80.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6029, allocations: 0 / 0.7759 GB, free: 80.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.6029, allocations: 12.44 kB / 0.7759 GB, free: 80.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001357/0.6043, allocations: 0.6665 MB / 0.7765 GB, free: 79.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6043, allocations: 11.5 kB / 0.7766 GB, free: 79.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/0.6053, allocations: 91.48 kB / 0.7766 GB, free: 79.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.6067, allocations: 0.563 MB / 0.7772 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.6068, allocations: 20.53 kB / 0.7772 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.6069, allocations: 39.08 kB / 0.7773 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.6078, allocations: 468.3 kB / 0.7777 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.6079, allocations: 6.391 kB / 0.7777 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.608, allocations: 14.16 kB / 0.7777 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.608, allocations: 24.88 kB / 0.7777 GB, free: 79.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.6088, allocations: 339.3 kB / 0.7781 GB, free: 79.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.6115, allocations: 1.7 MB / 0.7797 GB, free: 78.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.6119, allocations: 148.1 kB / 0.7799 GB, free: 78.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.6121, allocations: 105.2 kB / 0.78 GB, free: 78.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.6122, allocations: 7.047 kB / 0.78 GB, free: 78.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.6122, allocations: 41.16 kB / 0.78 GB, free: 78.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 3.046e-06/0.6122, allocations: 0 / 0.78 GB, free: 78.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001962/0.6142, allocations: 0.8534 MB / 0.7808 GB, free: 77.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6143, allocations: 88.84 kB / 0.7809 GB, free: 77.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.6147, allocations: 301.3 kB / 0.7812 GB, free: 77.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.6147, allocations: 29.55 kB / 0.7812 GB, free: 77.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.6148, allocations: 254.3 kB / 0.7815 GB, free: 77.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.6149, allocations: 61.73 kB / 0.7815 GB, free: 77.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.6149, allocations: 10.97 kB / 0.7816 GB, free: 77.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.615, allocations: 344.5 kB / 0.7819 GB, free: 76.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6153, allocations: 87.7 kB / 0.782 GB, free: 76.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.6155, allocations: 198.3 kB / 0.7822 GB, free: 76.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.6158, allocations: 127.7 kB / 0.7823 GB, free: 76.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6158, allocations: 0 / 0.7823 GB, free: 76.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001233/0.6171, allocations: 460.3 kB / 0.7827 GB, free: 76.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6171, allocations: 7.531 kB / 0.7827 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008419/0.618, allocations: 284.8 kB / 0.783 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/0.6187, allocations: 126.8 kB / 0.7831 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.619, allocations: 57.28 kB / 0.7832 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.6223, allocations: 2.15 MB / 0.7853 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.6226, allocations: 18.61 kB / 0.7853 GB, free: 74.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.6227, allocations: 11 kB / 0.7853 GB, free: 74.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.623, allocations: 188.9 kB / 0.7855 GB, free: 74.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.6231, allocations: 34.69 kB / 0.7855 GB, free: 74.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.6237, allocations: 250.6 kB / 0.7858 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6237, allocations: 0 / 0.7858 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6237, allocations: 3.375 kB / 0.7858 GB, free: 74.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6237, allocations: 7.969 kB / 0.7858 GB, free: 74.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.6252, allocations: 0.7174 MB / 0.7865 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6252, allocations: 0.5625 kB / 0.7865 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.6256, allocations: 42.78 kB / 0.7865 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.6257, allocations: 35.38 kB / 0.7865 GB, free: 74.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.6258, allocations: 7.828 kB / 0.7865 GB, free: 74.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.627, allocations: 1.478 MB / 0.788 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.627, allocations: 0 / 0.788 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.6277, allocations: 426.4 kB / 0.7884 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.6278, allocations: 111.4 kB / 0.7885 GB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.6279, allocations: 0 / 0.7885 GB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.6282, allocations: 14.8 kB / 0.7885 GB, free: 72.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.6282, allocations: 15.53 kB / 0.7885 GB, free: 72.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.6283, allocations: 5.031 kB / 0.7885 GB, free: 72.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.6286, allocations: 214.5 kB / 0.7887 GB, free: 72.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6286, allocations: 4 kB / 0.7887 GB, free: 72.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.6292, allocations: 98.34 kB / 0.7888 GB, free: 72.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.6294, allocations: 120.5 kB / 0.789 GB, free: 72.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.6303, allocations: 395.1 kB / 0.7893 GB, free: 72.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6304, allocations: 0 / 0.7893 GB, free: 72.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.6308, allocations: 235 kB / 0.7896 GB, free: 71.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.6315, allocations: 53.88 kB / 0.7896 GB, free: 71.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.6332, allocations: 1.081 MB / 0.7907 GB, free: 71.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.6336, allocations: 0.8537 MB / 0.7915 GB, free: 70.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.634, allocations: 56.55 kB / 0.7916 GB, free: 70.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.634, allocations: 26.98 kB / 0.7916 GB, free: 70.35 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6341, allocations: 3.781 kB / 0.7916 GB, free: 70.35 MB / 442.7 MB Notification: Performance of Templates: time 0.01115/0.6452, allocations: 3.857 MB / 0.7953 GB, free: 68.55 MB / 442.7 MB