Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.007922/0.007922, allocations: 170.7 kB / 15.11 MB, free: 5.973 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.454/1.454, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009138/0.0009138, allocations: 86.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07096/0.07096, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.48/0.48, allocations: 78.52 MB / 459.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005106, allocations: 20.88 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 69.25 MB / 0.5957 GB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.5207, allocations: 100.5 MB / 0.6938 GB, free: 98.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.521, allocations: 80.45 kB / 0.6938 GB, free: 98.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05611/0.5771, allocations: 21.51 MB / 0.7148 GB, free: 93.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5771, allocations: 1.094 kB / 0.7149 GB, free: 93.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.5772, allocations: 17.84 kB / 0.7149 GB, free: 93.55 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004682/0.5819, allocations: 1.481 MB / 0.7163 GB, free: 92.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.582, allocations: 17.52 kB / 0.7163 GB, free: 92.51 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/0.5823, allocations: 99 kB / 0.7164 GB, free: 92.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.5846, allocations: 393.7 kB / 0.7168 GB, free: 92.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.5859, allocations: 0.6127 MB / 0.7174 GB, free: 91.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.5861, allocations: 149.7 kB / 0.7175 GB, free: 91.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.5863, allocations: 59.31 kB / 0.7176 GB, free: 91.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5878, allocations: 0.8248 MB / 0.7184 GB, free: 91.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5878, allocations: 0 / 0.7184 GB, free: 91.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.5879, allocations: 23.91 kB / 0.7184 GB, free: 91.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5879, allocations: 11.53 kB / 0.7184 GB, free: 91.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.5892, allocations: 0.7305 MB / 0.7191 GB, free: 90.75 MB / 474.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.00464/0.5938, allocations: 2.888 MB / 0.722 GB, free: 88.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.606, allocations: 3.949 MB / 0.7258 GB, free: 84.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.6061, allocations: 8.562 kB / 0.7258 GB, free: 84.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6062, allocations: 35.12 kB / 0.7259 GB, free: 84.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.066e-06/0.6062, allocations: 0 / 0.7259 GB, free: 84.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01123/0.6174, allocations: 3.959 MB / 0.7297 GB, free: 80.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.6175, allocations: 85.67 kB / 0.7298 GB, free: 80.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6186, allocations: 0.6798 MB / 0.7305 GB, free: 80.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.6187, allocations: 37.7 kB / 0.7305 GB, free: 79.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.619, allocations: 380.7 kB / 0.7309 GB, free: 79.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.6192, allocations: 236.6 kB / 0.7311 GB, free: 79.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.6193, allocations: 12 kB / 0.7311 GB, free: 79.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.6193, allocations: 333.9 kB / 0.7314 GB, free: 79.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.6202, allocations: 473.8 kB / 0.7319 GB, free: 78.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.621, allocations: 0.5559 MB / 0.7324 GB, free: 77.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/0.6219, allocations: 0.5004 MB / 0.7329 GB, free: 77.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6219, allocations: 4 kB / 0.7329 GB, free: 77.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006659/0.6286, allocations: 2.548 MB / 0.7354 GB, free: 74.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.6287, allocations: 0.6109 MB / 0.736 GB, free: 74.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6287, allocations: 4 kB / 0.736 GB, free: 74.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/0.6329, allocations: 1.246 MB / 0.7372 GB, free: 72.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.6335, allocations: 107.9 kB / 0.7373 GB, free: 72.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.6439, allocations: 5.585 MB / 0.7428 GB, free: 67.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6451, allocations: 123.2 kB / 0.7429 GB, free: 67.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.6452, allocations: 27.98 kB / 0.7429 GB, free: 67.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6452, allocations: 11.89 kB / 0.7429 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006402/0.6517, allocations: 2.41 MB / 0.7453 GB, free: 64.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6517, allocations: 4 kB / 0.7453 GB, free: 64.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/0.6558, allocations: 1.24 MB / 0.7465 GB, free: 63.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.6563, allocations: 103.8 kB / 0.7466 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.6665, allocations: 5.587 MB / 0.7521 GB, free: 57.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6678, allocations: 103.5 kB / 0.7522 GB, free: 57.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.6679, allocations: 27.98 kB / 0.7522 GB, free: 57.39 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.6685, allocations: 291.7 kB / 0.7525 GB, free: 57.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.6688, allocations: 86.88 kB / 0.7525 GB, free: 57.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/0.6748, allocations: 2.403 MB / 0.7549 GB, free: 54.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.6749, allocations: 4 kB / 0.7549 GB, free: 54.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/0.6749, allocations: 4 kB / 0.7549 GB, free: 54.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.6749, allocations: 7.984 kB / 0.7549 GB, free: 54.56 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.009042/0.684, allocations: 3.69 MB / 0.7585 GB, free: 50.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.684, allocations: 3.938 kB / 0.7585 GB, free: 50.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.6846, allocations: 83.95 kB / 0.7586 GB, free: 50.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0031/0.6877, allocations: 1.072 MB / 0.7596 GB, free: 49.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/0.6879, allocations: 19.92 kB / 0.7597 GB, free: 49.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007299/0.6952, allocations: 4.289 MB / 0.7639 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6952, allocations: 0 / 0.7639 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/0.7022, allocations: 3.083 MB / 0.7669 GB, free: 42.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.7026, allocations: 195.9 kB / 0.7671 GB, free: 41.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.7029, allocations: 15.94 kB / 0.7671 GB, free: 41.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.7039, allocations: 83.89 kB / 0.7671 GB, free: 41.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.7042, allocations: 120.3 kB / 0.7673 GB, free: 41.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.7043, allocations: 16 kB / 0.7673 GB, free: 41.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000775/0.7051, allocations: 0.5303 MB / 0.7678 GB, free: 41.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7051, allocations: 0 / 0.7678 GB, free: 41.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001783/0.7069, allocations: 499.3 kB / 0.7683 GB, free: 40.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007074/0.714, allocations: 3.824 MB / 0.772 GB, free: 36.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006949/0.721, allocations: 3.148 MB / 0.7751 GB, free: 33.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.721, allocations: 0 / 0.7751 GB, free: 33.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.7237, allocations: 1.267 MB / 0.7763 GB, free: 32.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.7245, allocations: 63.3 kB / 0.7764 GB, free: 32.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.7296, allocations: 3.736 MB / 0.78 GB, free: 28.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.7301, allocations: 0.9945 MB / 0.781 GB, free: 27.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004775/0.7306, allocations: 68.75 kB / 0.7811 GB, free: 27.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.7311, allocations: 303.3 kB / 0.7814 GB, free: 26.85 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7311, allocations: 0 / 0.7814 GB, free: 26.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.7727, allocations: 25.9 MB / 0.8066 GB, free: 1.145 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.7729, allocations: 233.3 kB / 0.8069 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.262, allocations: 4.062 kB / 0.8069 GB, free: 0.8945 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)