Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0007999/0.0007997, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.288/1.288, allocations: 223.3 MB / 239 MB, free: 5.512 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.000938/0.000938, allocations: 183.8 kB / 290.3 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4256/0.4256, allocations: 78.55 MB / 419.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 11.94 kB / 499.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 69.38 MB / 0.5558 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2078/0.3255, allocations: 5.338 MB / 0.561 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.3282, allocations: 1.676 MB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.3286, allocations: 11.72 kB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.329, allocations: 147 kB / 0.5628 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3302, allocations: 0.5765 MB / 0.5634 GB, free: 36.89 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.0009032/0.3311, allocations: 481.6 kB / 0.5638 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009151/0.332, allocations: 1.142 MB / 0.565 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.3324, allocations: 218.7 kB / 0.5652 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.3328, allocations: 457.9 kB / 0.5656 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.3333, allocations: 0.5701 MB / 0.5662 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.3334, allocations: 48.09 kB / 0.5662 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.3337, allocations: 172.3 kB / 0.5664 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3338, allocations: 190 kB / 0.5665 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.334, allocations: 201.7 kB / 0.5667 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.3347, allocations: 0.9932 MB / 0.5677 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3347, allocations: 2.188 kB / 0.5677 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3347, allocations: 1.5 kB / 0.5677 GB, free: 36.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3347, allocations: 1.875 kB / 0.5677 GB, free: 36.05 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.005865/0.3406, allocations: 2.206 MB / 0.5699 GB, free: 35.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3406, allocations: 10.97 kB / 0.5699 GB, free: 35.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.345, allocations: 0.7669 MB / 0.5706 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.3459, allocations: 0.6659 MB / 0.5713 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3461, allocations: 262.2 kB / 0.5715 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3462, allocations: 67.58 kB / 0.5716 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3482, allocations: 1.034 MB / 0.5726 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3482, allocations: 0 / 0.5726 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.3483, allocations: 27.41 kB / 0.5726 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3483, allocations: 14.66 kB / 0.5726 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.3502, allocations: 1.062 MB / 0.5737 GB, free: 34.57 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.004266/0.3544, allocations: 3.248 MB / 0.5769 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.356, allocations: 1.374 MB / 0.5782 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.3572, allocations: 0.7793 MB / 0.579 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3573, allocations: 19.14 kB / 0.579 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3574, allocations: 45.62 kB / 0.579 GB, free: 31.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.575e-06/0.3574, allocations: 0 / 0.579 GB, free: 31.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02227/0.3797, allocations: 8.017 MB / 0.5868 GB, free: 30.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3797, allocations: 61.44 kB / 0.5869 GB, free: 30.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/0.3807, allocations: 0.7904 MB / 0.5877 GB, free: 30.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.3808, allocations: 40.55 kB / 0.5877 GB, free: 30.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.3811, allocations: 429.7 kB / 0.5881 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.3813, allocations: 302.4 kB / 0.5884 GB, free: 29.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.3814, allocations: 20.19 kB / 0.5884 GB, free: 29.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3815, allocations: 346.8 kB / 0.5888 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3828, allocations: 0.7312 MB / 0.5895 GB, free: 28.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.3842, allocations: 0.8551 MB / 0.5903 GB, free: 28.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3857, allocations: 0.7866 MB / 0.5911 GB, free: 28.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3857, allocations: 1.344 kB / 0.5911 GB, free: 28.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01273/0.3984, allocations: 5.028 MB / 0.596 GB, free: 27.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3985, allocations: 7.031 kB / 0.596 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3985, allocations: 4.312 kB / 0.596 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/0.4045, allocations: 2.081 MB / 0.598 GB, free: 26.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.4054, allocations: 185.6 kB / 0.5982 GB, free: 26.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.4246, allocations: 9.517 MB / 0.6075 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.4259, allocations: 188.7 kB / 0.6077 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.426, allocations: 42.36 kB / 0.6077 GB, free: 22.54 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003773/0.4264, allocations: 227 kB / 0.6079 GB, free: 22.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4265, allocations: 104.1 kB / 0.608 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.4384, allocations: 4.722 MB / 0.6127 GB, free: 19.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4385, allocations: 8 kB / 0.6127 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4385, allocations: 5.125 kB / 0.6127 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.4385, allocations: 4.969 kB / 0.6127 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.4511, allocations: 6.277 MB / 0.6188 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.4512, allocations: 0 / 0.6188 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.4516, allocations: 103.8 kB / 0.6189 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004971/0.4566, allocations: 2.055 MB / 0.6209 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/0.4567, allocations: 16 kB / 0.6209 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.4712, allocations: 8.196 MB / 0.6289 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4712, allocations: 0 / 0.6289 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.4846, allocations: 5.722 MB / 0.6345 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.485, allocations: 187.6 kB / 0.6347 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.4851, allocations: 19.94 kB / 0.6347 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.4859, allocations: 127.9 kB / 0.6348 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.4865, allocations: 208.5 kB / 0.635 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.4866, allocations: 16 kB / 0.635 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006962/0.4873, allocations: 0.5224 MB / 0.6356 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4873, allocations: 4 kB / 0.6356 GB, free: 11.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001269/0.4886, allocations: 411.5 kB / 0.636 GB, free: 11.54 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 (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.4888, allocations: 127.8 kB / 0.6361 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006169/0.495, allocations: 2.585 MB / 0.6386 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4951, allocations: 0 / 0.6386 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004261/0.4993, allocations: 1.688 MB / 0.6402 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.5002, allocations: 80.47 kB / 0.6403 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.5035, allocations: 2.113 MB / 0.6424 GB, free: 4.934 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.5042, allocations: 1.033 MB / 0.6434 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.5045, allocations: 76.23 kB / 0.6435 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.5047, allocations: 55.42 kB / 0.6435 GB, free: 3.746 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5047, allocations: 0 / 0.6435 GB, free: 3.746 MB / 446.1 MB Notification: Performance of Templates: time 0.02962/0.5343, allocations: 19.09 MB / 0.6622 GB, free: 0.8242 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: