Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009925/0.0009927, allocations: 173.2 kB / 16.07 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 88.94 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1689/0.1689, allocations: 38.06 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003431, allocations: 16 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 56.31 MB / 479.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005008/0.2265, allocations: 5.552 MB / 485.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.2318, allocations: 4.148 MB / 489.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.2324, allocations: 39.22 kB / 489.4 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008512/0.2409, allocations: 4.53 MB / 493.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.2421, allocations: 390.5 kB / 494.3 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.2429, allocations: 244.6 kB / 494.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.2453, allocations: 1.817 MB / 496.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008357/0.2462, allocations: 0.5417 MB / 496.9 MB, free: 268 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/0.2467, allocations: 311 kB / 497.2 MB, free: 108 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.2473, allocations: 431.2 kB / 497.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.2473, allocations: 24.41 kB / 497.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2477, allocations: 110 kB / 497.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.2479, allocations: 253.6 kB / 498 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.2483, allocations: 308.7 kB / 498.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.2488, allocations: 0.5554 MB / 498.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2488, allocations: 4 kB / 498.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2489, allocations: 0 / 498.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2489, allocations: 0 / 498.8 MB, free: 15.1 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001463/0.2503, allocations: 0.7932 MB / 499.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2504, allocations: 9.5 kB / 499.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.2508, allocations: 99.05 kB / 499.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.2518, allocations: 0.536 MB / 0.4885 GB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2518, allocations: 30.91 kB / 0.4886 GB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.2519, allocations: 54.95 kB / 0.4886 GB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.2529, allocations: 0.6422 MB / 0.4893 GB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2529, allocations: 2.344 kB / 0.4893 GB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.253, allocations: 20.39 kB / 0.4893 GB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.2531, allocations: 55.09 kB / 0.4893 GB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.2539, allocations: 490.5 kB / 0.4898 GB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.2574, allocations: 2.532 MB / 0.4923 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.2579, allocations: 330.5 kB / 0.4926 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2582, allocations: 187 kB / 0.4928 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.2583, allocations: 3.875 kB / 0.4928 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2583, allocations: 37.16 kB / 0.4928 GB, free: 10.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.276e-06/0.2583, allocations: 0 / 0.4928 GB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002561/0.2609, allocations: 1.637 MB / 0.4944 GB, free: 9.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.261, allocations: 107.1 kB / 0.4945 GB, free: 9.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.2615, allocations: 422.2 kB / 0.4949 GB, free: 9.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2615, allocations: 31.8 kB / 0.4949 GB, free: 9.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2617, allocations: 305.4 kB / 0.4952 GB, free: 8.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.2618, allocations: 121.5 kB / 0.4953 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.2619, allocations: 10.78 kB / 0.4954 GB, free: 8.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.262, allocations: 362.4 kB / 0.4957 GB, free: 8.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2623, allocations: 168.5 kB / 0.4959 GB, free: 8.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.2626, allocations: 300.7 kB / 0.4961 GB, free: 8.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.2633, allocations: 494.9 kB / 0.4966 GB, free: 7.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2633, allocations: 1.5 kB / 0.4966 GB, free: 7.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00137/0.2646, allocations: 0.7824 MB / 0.4974 GB, free: 7.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2647, allocations: 12.22 kB / 0.4974 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2647, allocations: 4.719 kB / 0.4974 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.2653, allocations: 207.1 kB / 0.4976 GB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.2657, allocations: 78.88 kB / 0.4977 GB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.2699, allocations: 3.873 MB / 0.5015 GB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.2703, allocations: 19.91 kB / 0.5015 GB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.2704, allocations: 27.92 kB / 0.5015 GB, free: 3.582 MB / 330.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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.2707, allocations: 225.6 kB / 0.5017 GB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.2708, allocations: 51.38 kB / 0.5018 GB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009316/0.2717, allocations: 0.6293 MB / 0.5024 GB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2717, allocations: 8.078 kB / 0.5024 GB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2717, allocations: 0 / 0.5024 GB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2718, allocations: 3.984 kB / 0.5024 GB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2734, allocations: 1.207 MB / 0.5036 GB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2735, allocations: 0 / 0.5036 GB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.2739, allocations: 79.88 kB / 0.5036 GB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.2741, allocations: 57.73 kB / 0.5037 GB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.2741, allocations: 8 kB / 0.5037 GB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.2759, allocations: 2.626 MB / 0.5063 GB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2759, allocations: 0 / 0.5063 GB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2771, allocations: 0.9568 MB / 0.5072 GB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.2773, allocations: 156.4 kB / 0.5074 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.2774, allocations: 8 kB / 0.5074 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.2776, allocations: 11.98 kB / 0.5074 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.2777, allocations: 27.91 kB / 0.5074 GB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2777, allocations: 16 kB / 0.5074 GB, free: 13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000342/0.2781, allocations: 287.1 kB / 0.5077 GB, free: 12.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2781, allocations: 0 / 0.5077 GB, free: 12.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.2787, allocations: 132 kB / 0.5078 GB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.2789, allocations: 118.5 kB / 0.5079 GB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2801, allocations: 0.7201 MB / 0.5086 GB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2801, allocations: 0 / 0.5086 GB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.2806, allocations: 425.3 kB / 0.509 GB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.2814, allocations: 114.6 kB / 0.5091 GB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2838, allocations: 1.86 MB / 0.511 GB, free: 9.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.2844, allocations: 0.9405 MB / 0.5119 GB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.2845, allocations: 43.42 kB / 0.5119 GB, free: 8.246 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2845, allocations: 0 / 0.5119 GB, free: 8.246 MB / 346.7 MB Notification: Performance of Templates: time 0.01386/0.2984, allocations: 11.2 MB / 0.5229 GB, free: 13.04 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)