Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001104/0.001104, allocations: 81.86 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001161/0.001161, allocations: 167.7 kB / 24.82 MB, free: 8.723 MB / 18.57 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.9838/0.9838, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.2187/0.2187, allocations: 29.42 MB / 291.2 MB, free: 2.441 MB / 266.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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.734e-05, allocations: 7.75 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004273/0.0043, allocations: 3.757 MB / 373.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.005656, allocations: 0.8727 MB / 374.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.005844, allocations: 19.81 kB / 374.7 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.00601, allocations: 39.64 kB / 374.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.006516, allocations: 174.9 kB / 375 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.006719, allocations: 83.77 kB / 375 MB, free: 5.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.00709, allocations: 386.5 kB / 375.4 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.007257, allocations: 56.73 kB / 375.5 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.007751, allocations: 279.2 kB / 375.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.00793, allocations: 127.6 kB / 375.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.007958, allocations: 16 kB / 375.9 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.007985, allocations: 16 kB / 375.9 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.00806, allocations: 83.73 kB / 376 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.293e-05/0.008133, allocations: 83.77 kB / 376.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.00835, allocations: 179.3 kB / 376.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008352, allocations: 0 / 376.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008353, allocations: 0 / 376.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.008358, allocations: 3.984 kB / 376.2 MB, free: 4.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005625/0.008921, allocations: 0.5787 MB / 376.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.008961, allocations: 15.98 kB / 376.8 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.00902, allocations: 44.75 kB / 376.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.009312, allocations: 263.9 kB / 377.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.009329, allocations: 16.88 kB / 377.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.009357, allocations: 20.38 kB / 377.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.009557, allocations: 221.4 kB / 377.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.009567, allocations: 3.938 kB / 377.4 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.009581, allocations: 7.984 kB / 377.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.009589, allocations: 8 kB / 377.4 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.009665, allocations: 67.67 kB / 377.5 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008421/0.01051, allocations: 1.378 MB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.0106, allocations: 82.02 kB / 378.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.01063, allocations: 31.47 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01064, allocations: 0 / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.01068, allocations: 41.38 kB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.01068, allocations: 0 / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004388/0.01112, allocations: 257.3 kB / 379.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.01116, allocations: 81.11 kB / 379.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.01132, allocations: 288 kB / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.01133, allocations: 29.7 kB / 379.6 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01144, allocations: 238.8 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.01146, allocations: 39.7 kB / 379.9 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.0115, allocations: 51.3 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01165, allocations: 0.5 MB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.01167, allocations: 15.98 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.01175, allocations: 155 kB / 380.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.01187, allocations: 191.1 kB / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01187, allocations: 0 / 380.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001498/0.01202, allocations: 169.2 kB / 381 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01204, allocations: 4 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01204, allocations: 4 kB / 381 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01206, allocations: 4 kB / 381 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.01214, allocations: 39.92 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01215, allocations: 11.94 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.01221, allocations: 12.38 kB / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.01222, allocations: 8 kB / 381.1 MB, free: 15.25 MB / 362.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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 7.974e-05/0.0123, allocations: 176.5 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.01232, allocations: 19.86 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.01243, allocations: 87.42 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01243, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01243, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01243, allocations: 3.938 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.01267, allocations: 353.6 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01267, allocations: 0 / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.01273, allocations: 20.02 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01273, allocations: 4 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.01274, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01274, allocations: 320 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.01274, allocations: 11.88 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.0129, allocations: 271 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.01292, allocations: 15.91 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.01293, allocations: 8 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.01298, allocations: 0 / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.01299, allocations: 11.92 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.01299, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.01307, allocations: 193.1 kB / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01307, allocations: 0 / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01327, allocations: 39.94 kB / 382.3 MB, free: 13.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.703e-05/0.01336, allocations: 99.25 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.01347, allocations: 84.17 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01347, allocations: 0 / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/0.01349, allocations: 31.73 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.01378, allocations: 56.33 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.01466, allocations: 481.9 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.355e-05/0.01471, allocations: 88.3 kB / 383.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.01478, allocations: 30.27 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.01487, allocations: 110.2 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01487, allocations: 4 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Templates: time 0.003773/0.01864, allocations: 1.932 MB / 385.2 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.955440882127732]