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.0008593/0.0008594, allocations: 177.1 kB / 15.42 MB, free: 6.207 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.292/1.292, allocations: 222.9 MB / 239 MB, free: 15.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 103.5 kB / 289.8 MB, free: 4.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3034/0.3034, allocations: 78.44 MB / 418.9 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 12 kB / 498.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 68.75 MB / 0.554 GB, free: 3.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.00624/0.113, allocations: 6.475 MB / 0.5603 GB, free: 12.83 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1157, allocations: 1.907 MB / 0.5622 GB, free: 10.91 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.116, allocations: 12 kB / 0.5622 GB, free: 10.9 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1164, allocations: 155 kB / 0.5623 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1178, allocations: 0.6286 MB / 0.5629 GB, free: 10.12 MB / 442.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.001095/0.1189, allocations: 0.5991 MB / 0.5635 GB, free: 9.531 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1199, allocations: 1.296 MB / 0.5648 GB, free: 8.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.1203, allocations: 248 kB / 0.565 GB, free: 7.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.1208, allocations: 0.4976 MB / 0.5655 GB, free: 7.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.1214, allocations: 0.6258 MB / 0.5661 GB, free: 6.848 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1215, allocations: 52 kB / 0.5662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.1219, allocations: 179.9 kB / 0.5663 GB, free: 6.621 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1221, allocations: 218.8 kB / 0.5665 GB, free: 6.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.1225, allocations: 0.5279 MB / 0.5671 GB, free: 5.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1236, allocations: 1.373 MB / 0.5684 GB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1237, allocations: 0 / 0.5684 GB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1237, allocations: 0 / 0.5684 GB, free: 4.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1237, allocations: 0 / 0.5684 GB, free: 4.496 MB / 442.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.006661/0.1303, allocations: 2.217 MB / 0.5706 GB, free: 2.227 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1304, allocations: 12.03 kB / 0.5706 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.1306, allocations: 122.4 kB / 0.5707 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.1351, allocations: 0.7633 MB / 0.5714 GB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.136, allocations: 0.736 MB / 0.5722 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.1363, allocations: 260.1 kB / 0.5724 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.1364, allocations: 79.89 kB / 0.5725 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1906/0.3271, allocations: 1.088 MB / 0.5735 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3271, allocations: 0 / 0.5735 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/0.3272, allocations: 27.38 kB / 0.5736 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3272, allocations: 18.31 kB / 0.5736 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.3292, allocations: 1.025 MB / 0.5746 GB, free: 45.62 MB / 442.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.005111/0.3343, allocations: 3.464 MB / 0.578 GB, free: 44.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.3364, allocations: 1.438 MB / 0.5794 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3377, allocations: 0.7409 MB / 0.5801 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.3378, allocations: 18.11 kB / 0.5801 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3378, allocations: 43.25 kB / 0.5802 GB, free: 44.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 2.444e-06/0.3378, allocations: 0 / 0.5802 GB, free: 44.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.02457/0.3624, allocations: 6.896 MB / 0.5869 GB, free: 43.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3625, allocations: 88.64 kB / 0.587 GB, free: 43.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.3634, allocations: 0.8204 MB / 0.5878 GB, free: 43.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.3635, allocations: 40.83 kB / 0.5878 GB, free: 43.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.3638, allocations: 456.4 kB / 0.5883 GB, free: 43.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.364, allocations: 327.8 kB / 0.5886 GB, free: 43.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3642, allocations: 105.6 kB / 0.5887 GB, free: 43.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.3643, allocations: 347.7 kB / 0.589 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.3657, allocations: 0.7135 MB / 0.5897 GB, free: 42.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3672, allocations: 0.8377 MB / 0.5905 GB, free: 42.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.3698, allocations: 1.514 MB / 0.592 GB, free: 41.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3698, allocations: 1.812 kB / 0.592 GB, free: 41.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01172/0.3816, allocations: 4.235 MB / 0.5961 GB, free: 40.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/0.3817, allocations: 156.6 kB / 0.5963 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3817, allocations: 3.125 kB / 0.5963 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/0.3872, allocations: 1.781 MB / 0.598 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/0.388, allocations: 199.6 kB / 0.5982 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.4048, allocations: 8.567 MB / 0.6066 GB, free: 36.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.4061, allocations: 168 kB / 0.6067 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/0.4062, allocations: 38.67 kB / 0.6068 GB, free: 36.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.4062, allocations: 7 kB / 0.6068 GB, free: 36.21 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01165/0.4179, allocations: 4.088 MB / 0.6108 GB, free: 35.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.4179, allocations: 1.031 kB / 0.6108 GB, free: 35.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.4239, allocations: 1.786 MB / 0.6125 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.4249, allocations: 191.4 kB / 0.6127 GB, free: 34.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.4437, allocations: 8.545 MB / 0.621 GB, free: 30.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.445, allocations: 148.6 kB / 0.6212 GB, free: 30.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.4451, allocations: 40.55 kB / 0.6212 GB, free: 30.86 MB / 442.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 (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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000429/0.4455, allocations: 315.4 kB / 0.6215 GB, free: 30.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4457, allocations: 106.9 kB / 0.6216 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.4575, allocations: 3.915 MB / 0.6255 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4576, allocations: 9.281 kB / 0.6255 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4576, allocations: 1.062 kB / 0.6255 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4576, allocations: 3.984 kB / 0.6255 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.4711, allocations: 5.574 MB / 0.6309 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.4712, allocations: 6.219 kB / 0.6309 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.4718, allocations: 109.8 kB / 0.631 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/0.4769, allocations: 1.75 MB / 0.6327 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.477, allocations: 15.97 kB / 0.6327 GB, free: 25.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.4909, allocations: 7.335 MB / 0.6399 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4909, allocations: 0 / 0.6399 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.5034, allocations: 4.847 MB / 0.6446 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.5038, allocations: 200.6 kB / 0.6448 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.5039, allocations: 17.5 kB / 0.6448 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.5049, allocations: 110.5 kB / 0.645 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/0.5054, allocations: 196.7 kB / 0.6451 GB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.5055, allocations: 23.98 kB / 0.6452 GB, free: 13.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005945/0.5061, allocations: 0.5471 MB / 0.6457 GB, free: 12.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5061, allocations: 0 / 0.6457 GB, free: 12.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001704/0.5078, allocations: 0.6905 MB / 0.6464 GB, free: 11.9 MB / 442.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 (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.01254/0.5204, allocations: 5.425 MB / 0.6517 GB, free: 6.445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009481/0.5299, allocations: 4.103 MB / 0.6557 GB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5299, allocations: 0 / 0.6557 GB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.5337, allocations: 1.512 MB / 0.6572 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.5345, allocations: 94.12 kB / 0.6572 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/0.5708, allocations: 15.86 MB / 0.6727 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.5715, allocations: 1.085 MB / 0.6738 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000511/0.572, allocations: 106.2 kB / 0.6739 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.5725, allocations: 391.3 kB / 0.6743 GB, free: 14.93 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5725, allocations: 0 / 0.6743 GB, free: 14.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05263/0.6252, allocations: 36.62 MB / 0.71 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.6253, allocations: 223.8 kB / 0.7103 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/3.715, allocations: 4.062 kB / 0.7103 GB, free: 10.39 MB / 0.4948 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)