Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07907/0.07907, allocations: 12.6 MB / 28.9 MB, free: 0.6016 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 115.4 kB / 32.5 MB, free: 3.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 183.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4385/0.4385, allocations: 78.51 MB / 420 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004002/0.004002, allocations: 140.1 kB / 0.5565 GB, free: 28.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1118, allocations: 68.13 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007036/0.1188, allocations: 5.855 MB / 0.6288 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.122, allocations: 1.717 MB / 0.6305 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.1223, allocations: 12 kB / 0.6305 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1227, allocations: 202.2 kB / 0.6307 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1243, allocations: 0.7408 MB / 0.6314 GB, free: 6.836 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0012/0.1255, allocations: 0.5604 MB / 0.6319 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1269, allocations: 1.257 MB / 0.6332 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.1272, allocations: 183.2 kB / 0.6333 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.1278, allocations: 0.5329 MB / 0.6339 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.1285, allocations: 0.6416 MB / 0.6345 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.1286, allocations: 88 kB / 0.6346 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.129, allocations: 223.9 kB / 0.6348 GB, free: 3.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1293, allocations: 242.8 kB / 0.635 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.1298, allocations: 0.5476 MB / 0.6356 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.1313, allocations: 1.358 MB / 0.6369 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1313, allocations: 0 / 0.6369 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1313, allocations: 3.938 kB / 0.6369 GB, free: 1.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1313, allocations: 0 / 0.6369 GB, free: 1.188 MB / 446.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.007929/0.1392, allocations: 2.379 MB / 0.6392 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1393, allocations: 11.98 kB / 0.6392 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.1444, allocations: 0.7641 MB / 0.64 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.1456, allocations: 0.7212 MB / 0.6407 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.1459, allocations: 252.2 kB / 0.6409 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1461, allocations: 64 kB / 0.641 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.1482, allocations: 0.9677 MB / 0.6419 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1483, allocations: 7.922 kB / 0.6419 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.1483, allocations: 24 kB / 0.6419 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1484, allocations: 19.94 kB / 0.642 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.1506, allocations: 0.976 MB / 0.6429 GB, free: 10.86 MB / 462.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.00566/0.1563, allocations: 3.167 MB / 0.646 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1585, allocations: 1.236 MB / 0.6472 GB, free: 6.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.16, allocations: 0.6306 MB / 0.6478 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.1601, allocations: 9 kB / 0.6478 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1601, allocations: 43.56 kB / 0.6479 GB, free: 5.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.475e-06/0.1601, allocations: 0 / 0.6479 GB, free: 5.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.0275/0.1876, allocations: 6.45 MB / 0.6542 GB, free: 15.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1877, allocations: 60.41 kB / 0.6542 GB, free: 14.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1888, allocations: 0.8061 MB / 0.655 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.1889, allocations: 37.7 kB / 0.6551 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.1893, allocations: 437.1 kB / 0.6555 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.1897, allocations: 313.3 kB / 0.6558 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.1901, allocations: 186.9 kB / 0.656 GB, free: 13.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1902, allocations: 349.9 kB / 0.6563 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.1919, allocations: 0.6584 MB / 0.6569 GB, free: 12.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.1936, allocations: 0.7796 MB / 0.6577 GB, free: 11.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01942/0.2131, allocations: 4.52 MB / 0.6621 GB, free: 6.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.2131, allocations: 4 kB / 0.6621 GB, free: 6.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01471/0.2278, allocations: 4.044 MB / 0.6661 GB, free: 2.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2278, allocations: 8 kB / 0.6661 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2278, allocations: 4 kB / 0.6661 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00654/0.2344, allocations: 1.734 MB / 0.6678 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.2354, allocations: 187.7 kB / 0.6679 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.2589, allocations: 9.058 MB / 0.6768 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.2603, allocations: 155.3 kB / 0.6769 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.2604, allocations: 43.98 kB / 0.677 GB, free: 7.371 MB / 494.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.0004442/0.2608, allocations: 229.5 kB / 0.6772 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.261, allocations: 107.3 kB / 0.6773 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.2752, allocations: 3.782 MB / 0.681 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.2752, allocations: 11.94 kB / 0.681 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2752, allocations: 0 / 0.681 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.2753, allocations: 3.984 kB / 0.681 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.2916, allocations: 5.345 MB / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.2916, allocations: 0 / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.2922, allocations: 91.89 kB / 0.6863 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006554/0.2988, allocations: 1.745 MB / 0.688 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.2989, allocations: 19.98 kB / 0.688 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/0.3199, allocations: 8.058 MB / 0.6959 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3199, allocations: 0 / 0.6959 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.3361, allocations: 4.705 MB / 0.7005 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.3365, allocations: 196.2 kB / 0.7007 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3366, allocations: 16 kB / 0.7007 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.3376, allocations: 87.89 kB / 0.7008 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/0.3382, allocations: 208.5 kB / 0.701 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/0.3383, allocations: 23.98 kB / 0.701 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007746/0.3391, allocations: 0.5303 MB / 0.7015 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3391, allocations: 0 / 0.7015 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001184/0.3402, allocations: 415.7 kB / 0.7019 GB, free: 13.47 MB / 0.5137 GB 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.0002631/0.3405, allocations: 119.2 kB / 0.702 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006899/0.3474, allocations: 2.202 MB / 0.7042 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3474, allocations: 0 / 0.7042 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005064/0.3525, allocations: 1.457 MB / 0.7056 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.3532, allocations: 84 kB / 0.7057 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.3566, allocations: 1.811 MB / 0.7075 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.3573, allocations: 1.033 MB / 0.7085 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.3576, allocations: 82.3 kB / 0.7085 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.3578, allocations: 63.42 kB / 0.7086 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.3578, allocations: 0 / 0.7086 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of Templates: time 0.2666/0.6245, allocations: 22.54 MB / 0.7306 GB, free: 81.78 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)