Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, 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.379/1.379, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001282/0.001282, allocations: 176.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5467/0.5467, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 8 kB / 0.5048 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3788, allocations: 72.47 MB / 0.5755 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004298/0.3831, allocations: 5.704 MB / 0.5811 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.3863, allocations: 1.806 MB / 0.5829 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.3869, allocations: 15.19 kB / 0.5829 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.3873, allocations: 163 kB / 0.583 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.3887, allocations: 0.6019 MB / 0.5836 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3897, allocations: 0.53 MB / 0.5841 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.3908, allocations: 1.196 MB / 0.5853 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.3911, allocations: 245.3 kB / 0.5855 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.3916, allocations: 465.8 kB / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.3921, allocations: 0.5959 MB / 0.5866 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.3922, allocations: 46.72 kB / 0.5866 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.3926, allocations: 177.2 kB / 0.5868 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3928, allocations: 200.3 kB / 0.587 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.3931, allocations: 0.5179 MB / 0.5875 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3942, allocations: 1.288 MB / 0.5887 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3943, allocations: 0 / 0.5887 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3943, allocations: 0 / 0.5887 GB, free: 28.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3943, allocations: 0 / 0.5887 GB, free: 28.98 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007135/0.4014, allocations: 2.191 MB / 0.5909 GB, free: 28.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4015, allocations: 9.438 kB / 0.5909 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.4065, allocations: 0.7619 MB / 0.5916 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4076, allocations: 0.699 MB / 0.5923 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.4079, allocations: 265.9 kB / 0.5926 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.408, allocations: 68.22 kB / 0.5926 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.4102, allocations: 1.034 MB / 0.5936 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4102, allocations: 3.938 kB / 0.5936 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.4103, allocations: 25.66 kB / 0.5937 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4103, allocations: 16.78 kB / 0.5937 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.4125, allocations: 1.064 MB / 0.5947 GB, free: 26.44 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.005439/0.418, allocations: 3.275 MB / 0.5979 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.42, allocations: 1.382 MB / 0.5993 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.4216, allocations: 0.7834 MB / 0.6 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.4217, allocations: 14.17 kB / 0.6 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4217, allocations: 47.19 kB / 0.6001 GB, free: 23.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.095e-06/0.4217, allocations: 0 / 0.6001 GB, free: 23.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0294/0.4511, allocations: 8.048 MB / 0.6079 GB, free: 21.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4512, allocations: 60.84 kB / 0.608 GB, free: 21.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.4527, allocations: 0.7966 MB / 0.6088 GB, free: 21.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.453, allocations: 44.36 kB / 0.6088 GB, free: 21.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4533, allocations: 428.8 kB / 0.6092 GB, free: 21.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.4536, allocations: 299 kB / 0.6095 GB, free: 20.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.4538, allocations: 100.2 kB / 0.6096 GB, free: 20.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.4539, allocations: 344.8 kB / 0.6099 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.4555, allocations: 0.7426 MB / 0.6107 GB, free: 20.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.4573, allocations: 0.8582 MB / 0.6115 GB, free: 19.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01951/0.4768, allocations: 5.012 MB / 0.6164 GB, free: 18.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.4768, allocations: 1.125 kB / 0.6164 GB, free: 18.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01383/0.4907, allocations: 4.995 MB / 0.6213 GB, free: 14.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.4907, allocations: 8 kB / 0.6213 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4908, allocations: 4 kB / 0.6213 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/0.4967, allocations: 2.046 MB / 0.6233 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/0.4977, allocations: 191.8 kB / 0.6235 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01849/0.5162, allocations: 9.324 MB / 0.6326 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5178, allocations: 187 kB / 0.6328 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.518, allocations: 39.98 kB / 0.6328 GB, free: 2.43 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 (101): * Single equations (assignments): 100 * 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.0005529/0.5185, allocations: 217.7 kB / 0.633 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.5188, allocations: 110.6 kB / 0.6331 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.5326, allocations: 4.727 MB / 0.6377 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5327, allocations: 8 kB / 0.6377 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5327, allocations: 3.938 kB / 0.6377 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.5327, allocations: 3.984 kB / 0.6377 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.55, allocations: 6.255 MB / 0.6438 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.55, allocations: 0 / 0.6438 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/0.5507, allocations: 107.8 kB / 0.644 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006681/0.5574, allocations: 2.042 MB / 0.6459 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.5576, allocations: 15.98 kB / 0.646 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.5772, allocations: 8.214 MB / 0.654 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5773, allocations: 3.984 kB / 0.654 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.5941, allocations: 5.68 MB / 0.6595 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.5946, allocations: 191.6 kB / 0.6597 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.5949, allocations: 16 kB / 0.6597 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.5962, allocations: 131.9 kB / 0.6599 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/0.5969, allocations: 196.6 kB / 0.66 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5971, allocations: 24 kB / 0.6601 GB, free: 6.141 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009123/0.598, allocations: 0.5342 MB / 0.6606 GB, free: 5.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.598, allocations: 4 kB / 0.6606 GB, free: 5.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001496/0.5995, allocations: 407.5 kB / 0.661 GB, free: 5.207 MB / 462.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 (50): * Single equations (assignments): 49 * 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.0003075/0.5998, allocations: 119.3 kB / 0.6611 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007006/0.6068, allocations: 2.568 MB / 0.6636 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6069, allocations: 0 / 0.6636 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.6118, allocations: 1.697 MB / 0.6653 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/0.6128, allocations: 85.52 kB / 0.6653 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.6163, allocations: 2.21 MB / 0.6675 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.617, allocations: 1.025 MB / 0.6685 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.6173, allocations: 82.3 kB / 0.6686 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.6175, allocations: 59.42 kB / 0.6686 GB, free: 13.28 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6175, allocations: 0 / 0.6686 GB, free: 13.28 MB / 478.1 MB Notification: Performance of Templates: time 0.03331/0.6508, allocations: 19.47 MB / 0.6877 GB, free: 9.812 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)