Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01132/0.01132, allocations: 166.8 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 239.1 MB, free: 1.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000776/0.0007761, allocations: 101.4 kB / 290.3 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.61 MB / 420 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.000484, allocations: 16 kB / 500 MB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4343, allocations: 69.34 MB / 0.556 GB, free: 38.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.006181/0.4405, allocations: 5.643 MB / 0.5615 GB, free: 37.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.4447, allocations: 1.803 MB / 0.5633 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.446, allocations: 11.44 kB / 0.5633 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.4469, allocations: 147.4 kB / 0.5634 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.4493, allocations: 0.5869 MB / 0.564 GB, free: 35.95 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.4509, allocations: 0.5349 MB / 0.5645 GB, free: 35.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.4528, allocations: 1.224 MB / 0.5657 GB, free: 35.05 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.4533, allocations: 240.8 kB / 0.5659 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.4541, allocations: 491.3 kB / 0.5664 GB, free: 34.72 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.4549, allocations: 0.6073 MB / 0.567 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.4551, allocations: 50.72 kB / 0.567 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.4556, allocations: 170.2 kB / 0.5672 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.4558, allocations: 212.1 kB / 0.5674 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.456, allocations: 217.1 kB / 0.5676 GB, free: 34.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.4569, allocations: 1.067 MB / 0.5686 GB, free: 33.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4569, allocations: 0 / 0.5686 GB, free: 33.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4569, allocations: 0 / 0.5686 GB, free: 33.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.457, allocations: 0 / 0.5686 GB, free: 33.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006832/0.4638, allocations: 2.283 MB / 0.5709 GB, free: 32.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4638, allocations: 10.89 kB / 0.5709 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.4641, allocations: 127.1 kB / 0.571 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.4686, allocations: 0.7771 MB / 0.5718 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.4699, allocations: 0.697 MB / 0.5724 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.4702, allocations: 270.7 kB / 0.5727 GB, free: 31.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4704, allocations: 81.38 kB / 0.5728 GB, free: 31.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.4725, allocations: 1.164 MB / 0.5739 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4726, allocations: 3.094 kB / 0.5739 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.4727, allocations: 25.72 kB / 0.5739 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4727, allocations: 22.58 kB / 0.574 GB, free: 31.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4748, allocations: 1.117 MB / 0.5751 GB, free: 31.08 MB / 426.7 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.005835/0.4807, allocations: 3.532 MB / 0.5785 GB, free: 29.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4829, allocations: 1.535 MB / 0.58 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4844, allocations: 0.8213 MB / 0.5808 GB, free: 27.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.4845, allocations: 20.06 kB / 0.5808 GB, free: 27.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4845, allocations: 46.39 kB / 0.5809 GB, free: 27.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.765e-06/0.4846, allocations: 0 / 0.5809 GB, free: 27.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02779/0.5124, allocations: 8.512 MB / 0.5892 GB, free: 26.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5124, allocations: 92.34 kB / 0.5893 GB, free: 26.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.5135, allocations: 0.8141 MB / 0.5901 GB, free: 25.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.5138, allocations: 41.55 kB / 0.5901 GB, free: 25.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.5141, allocations: 453.8 kB / 0.5905 GB, free: 25.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.5145, allocations: 333.9 kB / 0.5909 GB, free: 25.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.5145, allocations: 21.53 kB / 0.5909 GB, free: 25.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.5146, allocations: 348.8 kB / 0.5912 GB, free: 24.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.5163, allocations: 0.7757 MB / 0.592 GB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.518, allocations: 0.9178 MB / 0.5929 GB, free: 24.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.5197, allocations: 0.8271 MB / 0.5937 GB, free: 23.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5197, allocations: 0 / 0.5937 GB, free: 23.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0152/0.5349, allocations: 5.116 MB / 0.5987 GB, free: 22.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.535, allocations: 157.8 kB / 0.5988 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5351, allocations: 2.406 kB / 0.5988 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007094/0.5422, allocations: 2.097 MB / 0.6009 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5433, allocations: 207.8 kB / 0.6011 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.5652, allocations: 9.545 MB / 0.6104 GB, free: 17.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5671, allocations: 204.6 kB / 0.6106 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.5672, allocations: 47.12 kB / 0.6106 GB, free: 17.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5672, allocations: 4 kB / 0.6106 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0135/0.5807, allocations: 4.971 MB / 0.6155 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.5808, allocations: 0 / 0.6155 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006058/0.5868, allocations: 2.1 MB / 0.6175 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/0.5878, allocations: 199.7 kB / 0.6177 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.6068, allocations: 9.516 MB / 0.627 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.6083, allocations: 195.1 kB / 0.6272 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.6084, allocations: 36 kB / 0.6272 GB, free: 0.625 MB / 426.7 MB 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 (110): * Single equations (assignments): 109 * 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 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005249/0.609, allocations: 320.7 kB / 0.6276 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.6092, allocations: 110.6 kB / 0.6277 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.6233, allocations: 4.817 MB / 0.6324 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.6234, allocations: 11.94 kB / 0.6324 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6234, allocations: 0 / 0.6324 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.6234, allocations: 3.984 kB / 0.6324 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.6406, allocations: 6.505 MB / 0.6387 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.6407, allocations: 0 / 0.6387 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.6416, allocations: 115.9 kB / 0.6388 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/0.6489, allocations: 2.049 MB / 0.6408 GB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.6492, allocations: 19.98 kB / 0.6409 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/0.6678, allocations: 8.194 MB / 0.6489 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6678, allocations: 0 / 0.6489 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/0.6846, allocations: 5.84 MB / 0.6546 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.6851, allocations: 199.4 kB / 0.6548 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.6853, allocations: 16 kB / 0.6548 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6864, allocations: 143.9 kB / 0.6549 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005764/0.687, allocations: 204.6 kB / 0.6551 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.6871, allocations: 27.98 kB / 0.6551 GB, free: 3.719 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006549/0.6877, allocations: 0.5393 MB / 0.6557 GB, free: 3.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6877, allocations: 0 / 0.6557 GB, free: 3.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002031/0.6898, allocations: 0.6983 MB / 0.6563 GB, free: 2.469 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.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 (57): * Single equations (assignments): 56 * 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.01799/0.7078, allocations: 6.409 MB / 0.6626 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/0.7208, allocations: 4.637 MB / 0.6671 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.7209, allocations: 0 / 0.6671 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.7259, allocations: 1.752 MB / 0.6688 GB, free: 5.602 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.727, allocations: 95.31 kB / 0.6689 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.752, allocations: 11.17 MB / 0.6798 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.7526, allocations: 1.082 MB / 0.6809 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.7532, allocations: 102.7 kB / 0.681 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.7537, allocations: 399.3 kB / 0.6814 GB, free: 8.43 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7537, allocations: 3.938 kB / 0.6814 GB, free: 8.426 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/0.8127, allocations: 36.2 MB / 0.7167 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.813, allocations: 208 kB / 0.7169 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/4.206, allocations: 0 / 0.7169 GB, free: 4.203 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)