Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001386/0.001386, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001502/0.001502, allocations: 166.5 kB / 25.61 MB, free: 8.492 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.9301/0.9301, allocations: 177.1 MB / 206 MB, free: 4.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.1374/0.1374, allocations: 29.42 MB / 292 MB, free: 2.648 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.991e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.003465/0.003484, allocations: 4.225 MB / 375.1 MB, free: 28.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.005231, allocations: 1.52 MB / 376.6 MB, free: 26.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.005421, allocations: 19.81 kB / 376.6 MB, free: 26.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.005914, allocations: 147.1 kB / 376.8 MB, free: 26.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.006342, allocations: 290.4 kB / 377.1 MB, free: 26.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.006836, allocations: 267.1 kB / 377.3 MB, free: 25.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.007238, allocations: 0.6156 MB / 377.9 MB, free: 25.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.007462, allocations: 207.9 kB / 378.1 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.007841, allocations: 411 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.00813, allocations: 327.2 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.008171, allocations: 40 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.008483, allocations: 227.5 kB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.008639, allocations: 243.4 kB / 379.4 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.008752, allocations: 179.6 kB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.009188, allocations: 0.5412 MB / 380.1 MB, free: 23.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.009191, allocations: 0 / 380.1 MB, free: 23.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009192, allocations: 0 / 380.1 MB, free: 23.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.009198, allocations: 0 / 380.1 MB, free: 23.08 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0006673/0.009865, allocations: 0.7816 MB / 380.9 MB, free: 22.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.009893, allocations: 8.031 kB / 380.9 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004332/0.01033, allocations: 148.5 kB / 381 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.01062, allocations: 337.7 kB / 381.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01064, allocations: 25.38 kB / 381.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.01072, allocations: 52.66 kB / 381.4 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.01103, allocations: 436.5 kB / 381.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01104, allocations: 4 kB / 381.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.01107, allocations: 15.98 kB / 381.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.564e-05/0.01116, allocations: 60.95 kB / 381.9 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.0114, allocations: 234.7 kB / 382.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01274, allocations: 2.526 MB / 384.7 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.01289, allocations: 170.7 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.01296, allocations: 79.39 kB / 384.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01298, allocations: 4 kB / 384.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.013, allocations: 49.31 kB / 385 MB, free: 17.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.784e-06/0.013, allocations: 0 / 385 MB, free: 17.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006869/0.01369, allocations: 0.6333 MB / 385.6 MB, free: 17.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.01371, allocations: 85.11 kB / 385.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01382, allocations: 326 kB / 386 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.01383, allocations: 33.83 kB / 386 MB, free: 16.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.01391, allocations: 306.9 kB / 386.3 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.01395, allocations: 150.7 kB / 386.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.01402, allocations: 95.77 kB / 386.6 MB, free: 16.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.01407, allocations: 0.5195 MB / 387.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/0.01413, allocations: 56.95 kB / 387.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01423, allocations: 254.9 kB / 387.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.01442, allocations: 353.6 kB / 387.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01442, allocations: 4 kB / 387.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000449/0.01487, allocations: 432.3 kB / 388.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01489, allocations: 8 kB / 388.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/0.01513, allocations: 237.2 kB / 388.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.01537, allocations: 95.45 kB / 388.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.01551, allocations: 71.91 kB / 388.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.01652, allocations: 3.595 MB / 392.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01662, allocations: 15.98 kB / 392.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.01664, allocations: 12 kB / 392.2 MB, free: 10.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/0.01673, allocations: 184.4 kB / 392.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.01679, allocations: 51.75 kB / 392.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.01702, allocations: 260.5 kB / 392.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.01704, allocations: 8 kB / 392.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01704, allocations: 32 / 392.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01704, allocations: 11.98 kB / 392.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.01752, allocations: 0.6355 MB / 393.3 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01752, allocations: 0 / 393.3 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01767, allocations: 55.92 kB / 393.4 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01767, allocations: 7.984 kB / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.01769, allocations: 11.98 kB / 393.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01769, allocations: 3.938 kB / 393.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01769, allocations: 0 / 393.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.01797, allocations: 490.5 kB / 393.9 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.01803, allocations: 51.72 kB / 394 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01805, allocations: 11.95 kB / 394 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.01813, allocations: 4 kB / 394 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.01815, allocations: 27.89 kB / 394 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.01817, allocations: 15.94 kB / 394 MB, free: 8.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.01822, allocations: 206.9 kB / 394.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01822, allocations: 0 / 394.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.01851, allocations: 111.9 kB / 394.3 MB, free: 7.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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 0.0001476/0.01865, allocations: 139.1 kB / 394.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.01901, allocations: 0.5769 MB / 395 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01902, allocations: 320 / 395 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.0191, allocations: 121.3 kB / 395.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01939, allocations: 55.67 kB / 395.2 MB, free: 7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02041, allocations: 0.925 MB / 396.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.02048, allocations: 153 kB / 396.3 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.02058, allocations: 43.25 kB / 396.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.0207, allocations: 134.2 kB / 396.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0207, allocations: 0 / 396.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of Templates: time 0.005893/0.02659, allocations: 4.676 MB / 401.1 MB, free: 1.082 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9665503539144993]