Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.0009715/0.0009715, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001602/0.001602, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9742/0.9742, allocations: 177.2 MB / 205 MB, free: 5.293 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.2408/0.2408, allocations: 29.42 MB / 290.9 MB, free: 2.465 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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.351e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.00657/0.006604, allocations: 5.81 MB / 375.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.009154, allocations: 1.869 MB / 377.3 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.009469, allocations: 35.69 kB / 377.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.01016, allocations: 210.5 kB / 377.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.0108, allocations: 441.4 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.01152, allocations: 366.9 kB / 378.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.01236, allocations: 1.048 MB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.01282, allocations: 416.6 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.01354, allocations: 0.6779 MB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.01403, allocations: 0.5104 MB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.086e-05/0.01411, allocations: 64 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.0145, allocations: 263.5 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.01475, allocations: 395 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.01497, allocations: 291.3 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.01574, allocations: 0.8137 MB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01575, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01575, allocations: 3.938 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.01576, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001316/0.01707, allocations: 1.168 MB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.01711, allocations: 11.98 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006534/0.01776, allocations: 236.1 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.01837, allocations: 0.5407 MB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.01841, allocations: 49.67 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.01852, allocations: 68.56 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.01927, allocations: 0.6707 MB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.01929, allocations: 3.938 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.01933, allocations: 20 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.01945, allocations: 77.95 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.02015, allocations: 439.5 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.02296, allocations: 2.995 MB / 389.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.02351, allocations: 384.9 kB / 389.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.0238, allocations: 201.2 kB / 389.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.02384, allocations: 12.5 kB / 389.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.02388, allocations: 41.89 kB / 389.7 MB, free: 6.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/0.02388, allocations: 3.938 kB / 389.7 MB, free: 6.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.001962/0.02584, allocations: 1.431 MB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.02588, allocations: 85.77 kB / 391.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.02619, allocations: 454.5 kB / 391.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.02623, allocations: 37.7 kB / 391.7 MB, free: 4.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.02642, allocations: 427.1 kB / 392.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.02657, allocations: 265.7 kB / 392.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.02672, allocations: 160.2 kB / 392.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.02689, allocations: 0.5469 MB / 393.1 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.02709, allocations: 137.9 kB / 393.2 MB, free: 3.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.02739, allocations: 403 kB / 393.6 MB, free: 2.523 MB / 362.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.02843, allocations: 0.9263 MB / 394.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02843, allocations: 4 kB / 394.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008043/0.02923, allocations: 0.6861 MB / 395.2 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02925, allocations: 8 kB / 395.2 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.02926, allocations: 4 kB / 395.2 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.02938, allocations: 35.67 kB / 395.2 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.02978, allocations: 191.6 kB / 395.4 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/0.03059, allocations: 1.791 MB / 397.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.0308, allocations: 35.97 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.03084, allocations: 31.98 kB / 397.3 MB, free: 14.58 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.03101, allocations: 204.3 kB / 397.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.03112, allocations: 91.61 kB / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.03178, allocations: 0.5698 MB / 398.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.0318, allocations: 16 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.0318, allocations: 0 / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.03181, allocations: 3.984 kB / 398.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.03338, allocations: 1.471 MB / 399.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.03338, allocations: 8.094 kB / 399.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.03373, allocations: 147.8 kB / 399.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/0.0338, allocations: 35.67 kB / 399.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.03384, allocations: 20.12 kB / 399.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.03452, allocations: 1.779 MB / 401.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.03453, allocations: 11.94 kB / 401.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.03544, allocations: 1.006 MB / 402.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.03549, allocations: 71.5 kB / 402.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.03554, allocations: 19.94 kB / 402.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.03571, allocations: 35.97 kB / 402.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.03578, allocations: 60.28 kB / 402.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.03581, allocations: 31.98 kB / 402.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.03599, allocations: 279.1 kB / 403.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03599, allocations: 0 / 403.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.03639, allocations: 187.9 kB / 403.3 MB, free: 8.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002023/0.0366, allocations: 159.1 kB / 403.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007279/0.03732, allocations: 0.6706 MB / 404.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03733, allocations: 0 / 404.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.03765, allocations: 434.8 kB / 404.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.03814, allocations: 144.8 kB / 404.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.04013, allocations: 1.68 MB / 406.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.04028, allocations: 215.3 kB / 406.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.04057, allocations: 169.1 kB / 406.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.0407, allocations: 56.48 kB / 406.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0407, allocations: 0 / 406.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of Templates: time 0.01004/0.05074, allocations: 8.199 MB / 415 MB, free: 12.41 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.102419078350067]