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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1068/0.1068, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.00111/0.00111, allocations: 107.4 kB / 31.84 MB, free: 3.898 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.267/1.267, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001374/0.001374, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4098/0.4098, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002654/0.002654, allocations: 135.1 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1035, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006245/0.1097, allocations: 5.839 MB / 0.6276 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1131, allocations: 1.713 MB / 0.6293 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007194/0.1139, allocations: 12 kB / 0.6293 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.1145, allocations: 206.2 kB / 0.6295 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1163, allocations: 0.7463 MB / 0.6302 GB, free: 7.375 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.001189/0.1175, allocations: 0.5495 MB / 0.6308 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1188, allocations: 1.264 MB / 0.632 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.1192, allocations: 267.2 kB / 0.6323 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.1199, allocations: 0.529 MB / 0.6328 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.1205, allocations: 0.6455 MB / 0.6334 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.1207, allocations: 88 kB / 0.6335 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.1211, allocations: 219.9 kB / 0.6337 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1213, allocations: 242.9 kB / 0.6339 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.1217, allocations: 0.5475 MB / 0.6345 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.123, allocations: 1.354 MB / 0.6358 GB, free: 1.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.123, allocations: 0 / 0.6358 GB, free: 1.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1231, allocations: 0 / 0.6358 GB, free: 1.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1231, allocations: 4 kB / 0.6358 GB, free: 1.656 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.007478/0.1306, allocations: 2.383 MB / 0.6381 GB, free: 15.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1306, allocations: 15.98 kB / 0.6381 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.1308, allocations: 118.5 kB / 0.6382 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.1358, allocations: 0.7563 MB / 0.639 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.137, allocations: 0.729 MB / 0.6397 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.1373, allocations: 252.1 kB / 0.6399 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.1375, allocations: 68 kB / 0.64 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.1396, allocations: 0.9637 MB / 0.6409 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1397, allocations: 0 / 0.6409 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.1397, allocations: 24 kB / 0.641 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1398, allocations: 20 kB / 0.641 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1419, allocations: 0.976 MB / 0.6419 GB, free: 11.21 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.005365/0.1473, allocations: 3.171 MB / 0.645 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.1493, allocations: 1.309 MB / 0.6463 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.1508, allocations: 0.7048 MB / 0.647 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.445e-05/0.1509, allocations: 16.98 kB / 0.647 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1509, allocations: 39.56 kB / 0.647 GB, free: 5.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/0.1509, allocations: 0 / 0.647 GB, free: 5.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02617/0.1771, allocations: 6.478 MB / 0.6534 GB, free: 15.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1772, allocations: 64.34 kB / 0.6534 GB, free: 15.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.1782, allocations: 0.8023 MB / 0.6542 GB, free: 14.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.1783, allocations: 41.7 kB / 0.6543 GB, free: 14.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.1786, allocations: 433.1 kB / 0.6547 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.179, allocations: 321.3 kB / 0.655 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.1794, allocations: 186.9 kB / 0.6552 GB, free: 13.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1795, allocations: 345.9 kB / 0.6555 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.181, allocations: 0.6584 MB / 0.6561 GB, free: 12.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.1826, allocations: 0.7835 MB / 0.6569 GB, free: 11.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.2008, allocations: 4.524 MB / 0.6613 GB, free: 6.934 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.2008, allocations: 0 / 0.6613 GB, free: 6.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01369/0.2145, allocations: 4.071 MB / 0.6653 GB, free: 2.848 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.2146, allocations: 8 kB / 0.6653 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2146, allocations: 0 / 0.6653 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006181/0.2208, allocations: 1.745 MB / 0.667 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.2217, allocations: 195.7 kB / 0.6672 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/0.2435, allocations: 9.057 MB / 0.676 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2449, allocations: 155.3 kB / 0.6762 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.2451, allocations: 35.98 kB / 0.6762 GB, free: 7.492 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.0004673/0.2456, allocations: 225.6 kB / 0.6764 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.2458, allocations: 111.3 kB / 0.6765 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.259, allocations: 3.809 MB / 0.6803 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2591, allocations: 11.94 kB / 0.6803 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2591, allocations: 4 kB / 0.6803 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.2591, allocations: 3.984 kB / 0.6803 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.2741, allocations: 5.38 MB / 0.6855 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.2741, allocations: 0 / 0.6855 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.2747, allocations: 87.89 kB / 0.6856 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.2809, allocations: 1.745 MB / 0.6873 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.2811, allocations: 19.98 kB / 0.6873 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.3001, allocations: 8.055 MB / 0.6952 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3001, allocations: 0 / 0.6952 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.3153, allocations: 4.74 MB / 0.6998 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.3156, allocations: 196.2 kB / 0.7 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3158, allocations: 12.09 kB / 0.7 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.3168, allocations: 91.89 kB / 0.7001 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005785/0.3174, allocations: 212.5 kB / 0.7003 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.3175, allocations: 23.94 kB / 0.7003 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006631/0.3182, allocations: 0.5381 MB / 0.7009 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3182, allocations: 0 / 0.7009 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001144/0.3193, allocations: 407.7 kB / 0.7013 GB, free: 13.5 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.01541/0.3347, allocations: 5.32 MB / 0.7065 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006599/0.3414, allocations: 2.312 MB / 0.7087 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3414, allocations: 0 / 0.7087 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/0.3462, allocations: 1.523 MB / 0.7102 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.3469, allocations: 90.84 kB / 0.7103 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2588/0.6058, allocations: 14.18 MB / 0.7241 GB, free: 85.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.6063, allocations: 1.035 MB / 0.7251 GB, free: 84.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.6067, allocations: 77.8 kB / 0.7252 GB, free: 84.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.6071, allocations: 373.1 kB / 0.7256 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.6071, allocations: 0 / 0.7256 GB, free: 84.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05359/0.6607, allocations: 30.97 MB / 0.7558 GB, free: 64.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.86, allocations: 11.98 kB / 0.7558 GB, free: 64.04 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)