Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008072/0.0008072, allocations: 86.59 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06818/0.06818, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2811/0.2811, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.303e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 69.25 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5352, allocations: 114.1 MB / 0.7004 GB, free: 2.371 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5356, allocations: 74.91 kB / 0.7005 GB, free: 2.336 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3325/0.8681, allocations: 126 MB / 0.8235 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8682, allocations: 0 / 0.8235 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005045/0.8687, allocations: 91.94 kB / 0.8236 GB, free: 14.28 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01792/0.8866, allocations: 5.159 MB / 0.8286 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8867, allocations: 11.98 kB / 0.8286 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00164/0.8884, allocations: 391.6 kB / 0.829 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009431/0.8978, allocations: 1.465 MB / 0.8304 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00865/0.9065, allocations: 2.997 MB / 0.8334 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/0.9078, allocations: 1.016 MB / 0.8344 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.9094, allocations: 291.9 kB / 0.8346 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.9202, allocations: 3.43 MB / 0.838 GB, free: 15.14 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.9203, allocations: 3.938 kB / 0.838 GB, free: 15.14 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009209/0.9213, allocations: 112 kB / 0.8381 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.9213, allocations: 67.98 kB / 0.8382 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00737/0.9287, allocations: 3.196 MB / 0.8413 GB, free: 11.76 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.03112/0.9599, allocations: 15.37 MB / 0.8563 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.973, allocations: 6.222 MB / 0.8624 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/0.9771, allocations: 1.968 MB / 0.8643 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.9782, allocations: 0.7621 MB / 0.865 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2891/1.267, allocations: 2.374 MB / 0.8674 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=331): time 1.033e-05/1.267, allocations: 0 / 0.8674 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=331): time 0.04107/1.308, allocations: 11.78 MB / 0.8789 GB, free: 133 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/1.308, allocations: 195 kB / 0.8791 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007287/1.316, allocations: 3.703 MB / 0.8827 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.317, allocations: 87.97 kB / 0.8828 GB, free: 132.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.318, allocations: 1.868 MB / 0.8846 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001909/1.32, allocations: 1.165 MB / 0.8857 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/1.321, allocations: 74.06 kB / 0.8858 GB, free: 131.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.321, allocations: 454.8 kB / 0.8862 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.325, allocations: 1.758 MB / 0.8879 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/1.328, allocations: 2.134 MB / 0.89 GB, free: 131 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/1.33, allocations: 1.905 MB / 0.8919 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.33, allocations: 0 / 0.8919 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.0104/1.341, allocations: 5.915 MB / 0.8977 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.341, allocations: 6.531 kB / 0.8977 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/1.341, allocations: 9.656 kB / 0.8977 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02039/1.361, allocations: 9.92 MB / 0.9074 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.365, allocations: 0.587 MB / 0.9079 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.375, allocations: 5.21 MB / 0.913 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/1.381, allocations: 0.7033 MB / 0.9137 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/1.381, allocations: 127.3 kB / 0.9138 GB, free: 129.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.000651/1.382, allocations: 278.8 kB / 0.9141 GB, free: 129.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007742/1.383, allocations: 472.7 kB / 0.9145 GB, free: 129.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03102/1.414, allocations: 12.2 MB / 0.9265 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.414, allocations: 30.75 kB / 0.9265 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.414, allocations: 3.594 kB / 0.9265 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.953e-05/1.414, allocations: 19.19 kB / 0.9265 GB, free: 128.8 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.04046/1.454, allocations: 18.12 MB / 0.9442 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/1.454, allocations: 4.125 kB / 0.9442 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/1.457, allocations: 434.7 kB / 0.9446 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01269/1.47, allocations: 4.419 MB / 0.9489 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.471, allocations: 82.41 kB / 0.949 GB, free: 122.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03349/1.505, allocations: 16.43 MB / 0.9651 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.505, allocations: 4 kB / 0.9651 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03693/1.542, allocations: 14.87 MB / 0.9796 GB, free: 95.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.544, allocations: 0.7074 MB / 0.9803 GB, free: 94.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/1.546, allocations: 67.23 kB / 0.9803 GB, free: 94.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005946/1.552, allocations: 0.489 MB / 0.9808 GB, free: 94.11 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002668/1.554, allocations: 0.626 MB / 0.9814 GB, free: 93.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006099/1.555, allocations: 95.45 kB / 0.9815 GB, free: 93.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004985/1.56, allocations: 2.796 MB / 0.9842 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.213e-06/1.56, allocations: 0 / 0.9842 GB, free: 91.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005774/1.566, allocations: 1.28 MB / 0.9855 GB, free: 89.85 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.03813/1.604, allocations: 15.83 MB / 1.001 GB, free: 76.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.621, allocations: 6.106 MB / 1.007 GB, free: 70.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.621, allocations: 4 kB / 1.007 GB, free: 70.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.633, allocations: 4.311 MB / 1.011 GB, free: 66.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.637, allocations: 390.7 kB / 1.012 GB, free: 66.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.659, allocations: 8.264 MB / 1.02 GB, free: 59.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.66, allocations: 2.423 MB / 1.022 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002226/1.662, allocations: 405 kB / 1.022 GB, free: 57.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/1.665, allocations: 1.978 MB / 1.024 GB, free: 55.38 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/1.665, allocations: 0 / 1.024 GB, free: 55.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4353/2.1, allocations: 107 MB / 1.129 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/2.101, allocations: 175.9 kB / 1.129 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.787/7.888, allocations: 0 / 1.129 GB, free: 120.3 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)