Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 239.4 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 168.6 kB / 290.6 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4892/0.4892, allocations: 78.56 MB / 420.3 MB, free: 4.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005566, allocations: 12 kB / 0.4887 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1724, allocations: 69.36 MB / 0.5564 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2511/0.4235, allocations: 6.347 MB / 0.5626 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.428, allocations: 1.9 MB / 0.5644 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.4297, allocations: 13.53 kB / 0.5645 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.4307, allocations: 178.9 kB / 0.5646 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.4336, allocations: 0.6146 MB / 0.5652 GB, free: 34.84 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.4352, allocations: 0.5786 MB / 0.5658 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.4375, allocations: 1.353 MB / 0.5671 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.4381, allocations: 284.5 kB / 0.5674 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4392, allocations: 0.5182 MB / 0.5679 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.4403, allocations: 0.6673 MB / 0.5685 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003976/0.4408, allocations: 56.52 kB / 0.5686 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008405/0.4416, allocations: 180.5 kB / 0.5688 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.4419, allocations: 232 kB / 0.569 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.4426, allocations: 0.5893 MB / 0.5696 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.444, allocations: 1.429 MB / 0.571 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.444, allocations: 0 / 0.571 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.444, allocations: 0 / 0.571 GB, free: 33.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4441, allocations: 1.156 kB / 0.571 GB, free: 33.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007337/0.4514, allocations: 2.396 MB / 0.5733 GB, free: 32.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4515, allocations: 8.844 kB / 0.5733 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.4565, allocations: 0.7853 MB / 0.5741 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.4579, allocations: 0.7702 MB / 0.5748 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.4583, allocations: 271.3 kB / 0.5751 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4584, allocations: 80.06 kB / 0.5752 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.4609, allocations: 1.165 MB / 0.5763 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.461, allocations: 3.938 kB / 0.5763 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.4611, allocations: 39.62 kB / 0.5763 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4611, allocations: 17.94 kB / 0.5764 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.4637, allocations: 1.24 MB / 0.5776 GB, free: 31.59 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005718/0.4694, allocations: 3.531 MB / 0.581 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4715, allocations: 1.53 MB / 0.5825 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.473, allocations: 0.8767 MB / 0.5834 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.199e-05/0.4731, allocations: 9.688 kB / 0.5834 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4732, allocations: 40.97 kB / 0.5834 GB, free: 29.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.605e-06/0.4732, allocations: 7.938 kB / 0.5834 GB, free: 29.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02803/0.5012, allocations: 8.212 MB / 0.5914 GB, free: 27.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.5013, allocations: 64.31 kB / 0.5915 GB, free: 27.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.5028, allocations: 0.8918 MB / 0.5924 GB, free: 27.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.503, allocations: 42.83 kB / 0.5924 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.5034, allocations: 496.9 kB / 0.5929 GB, free: 27.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.5038, allocations: 353.3 kB / 0.5932 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.504, allocations: 103.5 kB / 0.5933 GB, free: 26.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.5041, allocations: 352.7 kB / 0.5937 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.5061, allocations: 0.8294 MB / 0.5945 GB, free: 26.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.5081, allocations: 0.95 MB / 0.5954 GB, free: 25.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02115/0.5293, allocations: 5.416 MB / 0.6007 GB, free: 24.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5294, allocations: 0 / 0.6007 GB, free: 24.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01673/0.5461, allocations: 5.225 MB / 0.6058 GB, free: 23.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.5462, allocations: 7.516 kB / 0.6058 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.5462, allocations: 6.688 kB / 0.6058 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007024/0.5532, allocations: 2.04 MB / 0.6078 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5546, allocations: 240.3 kB / 0.608 GB, free: 22.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.5757, allocations: 9.325 MB / 0.6171 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5776, allocations: 226.8 kB / 0.6174 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.5779, allocations: 39.98 kB / 0.6174 GB, free: 15.01 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006539/0.5785, allocations: 239.1 kB / 0.6176 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5788, allocations: 128.7 kB / 0.6177 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.5925, allocations: 4.955 MB / 0.6226 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5926, allocations: 11.94 kB / 0.6226 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5926, allocations: 0 / 0.6226 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.5926, allocations: 3.984 kB / 0.6226 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.6088, allocations: 6.545 MB / 0.629 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.6089, allocations: 7.938 kB / 0.629 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.6097, allocations: 147.8 kB / 0.6291 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006062/0.6158, allocations: 2.056 MB / 0.6311 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.616, allocations: 16 kB / 0.6312 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/0.6356, allocations: 8.212 MB / 0.6392 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6356, allocations: 0 / 0.6392 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.6529, allocations: 5.993 MB / 0.645 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.6534, allocations: 205 kB / 0.6452 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003549/0.6538, allocations: 16 kB / 0.6452 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6552, allocations: 165 kB / 0.6454 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/0.656, allocations: 209.2 kB / 0.6456 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.6561, allocations: 27.98 kB / 0.6456 GB, free: 1.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009258/0.657, allocations: 0.5969 MB / 0.6462 GB, free: 1.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6571, allocations: 0 / 0.6462 GB, free: 1.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001683/0.6587, allocations: 435.5 kB / 0.6466 GB, free: 0.7148 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003098/0.6591, allocations: 132.4 kB / 0.6468 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007564/0.6666, allocations: 2.777 MB / 0.6495 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6667, allocations: 0 / 0.6495 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005201/0.6719, allocations: 1.806 MB / 0.6512 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6731, allocations: 84.42 kB / 0.6513 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.6773, allocations: 2.558 MB / 0.6538 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.678, allocations: 1.101 MB / 0.6549 GB, free: 8.215 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000476/0.6785, allocations: 85.16 kB / 0.655 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.6787, allocations: 59.42 kB / 0.655 GB, free: 8.07 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6787, allocations: 0 / 0.655 GB, free: 8.07 MB / 462.1 MB Notification: Performance of Templates: time 0.03433/0.7131, allocations: 20.45 MB / 0.675 GB, free: 3.797 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: