Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 186.9 kB / 299.8 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5202/0.5202, allocations: 99.67 MB / 454.4 MB, free: 5.043 MB / 318.1 MB " [Timeout remaining time 179] 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 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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 84.05 kB / 0.6074 GB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1463, allocations: 76.93 MB / 0.6825 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00778/0.1541, allocations: 6.54 MB / 0.6889 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.1581, allocations: 1.903 MB / 0.6907 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.1587, allocations: 12 kB / 0.6907 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1592, allocations: 226 kB / 0.691 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.161, allocations: 0.7649 MB / 0.6917 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1624, allocations: 0.6324 MB / 0.6923 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.164, allocations: 1.425 MB / 0.6937 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1645, allocations: 232.3 kB / 0.6939 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2971/0.4616, allocations: 0.5899 MB / 0.6945 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4629, allocations: 0.731 MB / 0.6952 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.4632, allocations: 101.5 kB / 0.6953 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005963/0.4638, allocations: 242.6 kB / 0.6956 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4641, allocations: 281.3 kB / 0.6958 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.4646, allocations: 0.6216 MB / 0.6964 GB, free: 8.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.4663, allocations: 1.529 MB / 0.6979 GB, free: 8.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4663, allocations: 5.25 kB / 0.6979 GB, free: 8.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4663, allocations: 1.219 kB / 0.6979 GB, free: 8.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.4663, allocations: 0 / 0.6979 GB, free: 8.184 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007552/0.4739, allocations: 2.594 MB / 0.7005 GB, free: 7.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4739, allocations: 8.609 kB / 0.7005 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.4741, allocations: 131.2 kB / 0.7006 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.4789, allocations: 0.7867 MB / 0.7014 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.4801, allocations: 0.7899 MB / 0.7021 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4803, allocations: 258.3 kB / 0.7024 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.4805, allocations: 80.3 kB / 0.7025 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.4826, allocations: 1.079 MB / 0.7035 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4826, allocations: 0 / 0.7035 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.4827, allocations: 34.22 kB / 0.7035 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.4827, allocations: 17.53 kB / 0.7036 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.485, allocations: 1.125 MB / 0.7047 GB, free: 6.477 MB / 494.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.00598/0.491, allocations: 3.483 MB / 0.7081 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.493, allocations: 1.333 MB / 0.7094 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4946, allocations: 0.7058 MB / 0.7101 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.4947, allocations: 18.56 kB / 0.7101 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.4947, allocations: 48.48 kB / 0.7101 GB, free: 3.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.647e-06/0.4947, allocations: 0 / 0.7101 GB, free: 3.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02659/0.5213, allocations: 6.836 MB / 0.7168 GB, free: 2.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5214, allocations: 66.47 kB / 0.7169 GB, free: 2.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.5225, allocations: 0.9013 MB / 0.7177 GB, free: 2.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.5226, allocations: 46.05 kB / 0.7178 GB, free: 1.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.5229, allocations: 0.4945 MB / 0.7183 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.5232, allocations: 365.8 kB / 0.7186 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.5236, allocations: 201.6 kB / 0.7188 GB, free: 1.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.5236, allocations: 355.5 kB / 0.7191 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.5251, allocations: 0.7339 MB / 0.7199 GB, free: 412 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.5267, allocations: 0.8606 MB / 0.7207 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.5452, allocations: 4.841 MB / 0.7254 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.5453, allocations: 0.7812 kB / 0.7254 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01364/0.5589, allocations: 4.248 MB / 0.7296 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5589, allocations: 9.562 kB / 0.7296 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5589, allocations: 6.375 kB / 0.7296 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/0.5648, allocations: 1.725 MB / 0.7313 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.566, allocations: 233.3 kB / 0.7315 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02025/0.5863, allocations: 9.065 MB / 0.7404 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.5879, allocations: 179.2 kB / 0.7405 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.588, allocations: 44.8 kB / 0.7406 GB, free: 4.688 MB / 0.4981 GB 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 (117): * Single equations (assignments): 116 * 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.0005025/0.5885, allocations: 252.8 kB / 0.7408 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.5887, allocations: 123.2 kB / 0.7409 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.6018, allocations: 3.971 MB / 0.7448 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.6018, allocations: 12 kB / 0.7448 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6018, allocations: 4 kB / 0.7448 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.6018, allocations: 3.984 kB / 0.7448 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.6172, allocations: 5.586 MB / 0.7503 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6172, allocations: 4.688 kB / 0.7503 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.6179, allocations: 133.1 kB / 0.7504 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005954/0.6239, allocations: 1.736 MB / 0.7521 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.624, allocations: 19.94 kB / 0.7521 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.6428, allocations: 8.068 MB / 0.76 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6428, allocations: 2.625 kB / 0.76 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.6581, allocations: 4.932 MB / 0.7648 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.6586, allocations: 212.1 kB / 0.765 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.6588, allocations: 23.88 kB / 0.765 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6598, allocations: 111.9 kB / 0.7652 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007199/0.6605, allocations: 217.3 kB / 0.7654 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.6606, allocations: 24 kB / 0.7654 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007968/0.6614, allocations: 0.6008 MB / 0.766 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6614, allocations: 0 / 0.766 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001231/0.6626, allocations: 439.6 kB / 0.7664 GB, free: 10.04 MB / 0.5294 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 (65): * Single equations (assignments): 64 * 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.01526/0.6779, allocations: 5.516 MB / 0.7718 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006811/0.6847, allocations: 2.365 MB / 0.7741 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6847, allocations: 0 / 0.7741 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/0.6894, allocations: 1.526 MB / 0.7756 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.6903, allocations: 95.03 kB / 0.7757 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/0.7289, allocations: 15.34 MB / 0.7906 GB, free: 1.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.7297, allocations: 1.103 MB / 0.7917 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004807/0.7302, allocations: 88.52 kB / 0.7918 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.7307, allocations: 451.2 kB / 0.7922 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/0.7308, allocations: 3.938 kB / 0.7922 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07367/0.8044, allocations: 33.84 MB / 0.8253 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.64, allocations: 9.828 kB / 0.8253 GB, free: 13.83 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.2552808849141] Failed to read output from testmodel.py, exit status != 0: 17.74309159303084 17.756243969 17.287087723 Calling exit ...