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.Network2.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.Network2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",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.001183/0.001184, allocations: 174.7 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.472/1.472, allocations: 205.2 MB / 218.5 MB, free: 9.227 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.0008948/0.0008949, allocations: 85.91 kB / 266.6 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0746/0.0746, allocations: 12.19 MB / 326.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2958/0.2958, allocations: 78.02 MB / 455.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.295e-05, allocations: 8 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1425, allocations: 69.25 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.648, allocations: 100.6 MB / 0.6872 GB, free: 15.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6484, allocations: 80.95 kB / 0.6872 GB, free: 15.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05971/0.7081, allocations: 22.01 MB / 0.7087 GB, free: 13.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7081, allocations: 4 kB / 0.7087 GB, free: 13.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.264e-05/0.7082, allocations: 19.94 kB / 0.7088 GB, free: 13.09 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003253/0.7115, allocations: 1.336 MB / 0.7101 GB, free: 11.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.7115, allocations: 11.98 kB / 0.7101 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.7117, allocations: 117.3 kB / 0.7102 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.7139, allocations: 396.5 kB / 0.7106 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.7152, allocations: 0.6594 MB / 0.7112 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.7154, allocations: 236.3 kB / 0.7114 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.7156, allocations: 64.69 kB / 0.7115 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.717, allocations: 0.7674 MB / 0.7122 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.717, allocations: 0 / 0.7122 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.7171, allocations: 25.94 kB / 0.7123 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.7172, allocations: 16 kB / 0.7123 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7182, allocations: 0.6213 MB / 0.7129 GB, free: 9.602 MB / 458.7 MB 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.005466/0.7237, allocations: 3.341 MB / 0.7162 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.7316, allocations: 2.291 MB / 0.7184 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.7325, allocations: 410 kB / 0.7188 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/0.7326, allocations: 8.781 kB / 0.7188 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.7326, allocations: 41.41 kB / 0.7188 GB, free: 4.719 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 4.228e-06/0.7326, allocations: 0 / 0.7188 GB, free: 4.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=72): time 0.004879/0.7375, allocations: 1.763 MB / 0.7206 GB, free: 3.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.7376, allocations: 89.88 kB / 0.7206 GB, free: 3.215 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.7388, allocations: 0.6742 MB / 0.7213 GB, free: 2.711 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.7389, allocations: 41.39 kB / 0.7213 GB, free: 2.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.7392, allocations: 410 kB / 0.7217 GB, free: 2.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.7395, allocations: 264.7 kB / 0.722 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.7396, allocations: 15.5 kB / 0.722 GB, free: 2.199 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7397, allocations: 328.8 kB / 0.7223 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.7403, allocations: 358.4 kB / 0.7227 GB, free: 1.691 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/0.7409, allocations: 447.2 kB / 0.7231 GB, free: 1.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.7416, allocations: 390 kB / 0.7234 GB, free: 1.191 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7416, allocations: 32 / 0.7234 GB, free: 1.191 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005424/0.747, allocations: 1.993 MB / 0.7254 GB, free: 15.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.7473, allocations: 0.616 MB / 0.726 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7473, allocations: 3.938 kB / 0.726 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/0.7514, allocations: 1.009 MB / 0.727 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.7521, allocations: 119.4 kB / 0.7271 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008512/0.7606, allocations: 4.534 MB / 0.7315 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7619, allocations: 109.2 kB / 0.7316 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.762, allocations: 30.7 kB / 0.7317 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7621, allocations: 7.438 kB / 0.7317 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005241/0.7673, allocations: 1.888 MB / 0.7335 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7674, allocations: 0 / 0.7335 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.7713, allocations: 1.01 MB / 0.7345 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.7719, allocations: 107.6 kB / 0.7346 GB, free: 8.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/0.7804, allocations: 4.55 MB / 0.739 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7816, allocations: 99.39 kB / 0.7391 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.7818, allocations: 24 kB / 0.7392 GB, free: 4.527 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.7822, allocations: 152.9 kB / 0.7393 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.7826, allocations: 90.88 kB / 0.7394 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/0.7875, allocations: 1.842 MB / 0.7412 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7876, allocations: 4 kB / 0.7412 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.7876, allocations: 8 kB / 0.7412 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7876, allocations: 3.984 kB / 0.7412 GB, free: 2.406 MB / 474.7 MB 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.007115/0.7948, allocations: 3.204 MB / 0.7443 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.7948, allocations: 64 / 0.7443 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.7954, allocations: 87.89 kB / 0.7444 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.7983, allocations: 0.8311 MB / 0.7452 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.7985, allocations: 31.92 kB / 0.7453 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00651/0.805, allocations: 3.506 MB / 0.7487 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8051, allocations: 0 / 0.7487 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/0.8112, allocations: 2.427 MB / 0.7511 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.8118, allocations: 187.8 kB / 0.7512 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.8121, allocations: 19.95 kB / 0.7513 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.813, allocations: 67.95 kB / 0.7513 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/0.8134, allocations: 120.6 kB / 0.7514 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.8135, allocations: 24.19 kB / 0.7515 GB, free: 7.602 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009211/0.8144, allocations: 0.5226 MB / 0.752 GB, free: 7.082 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8145, allocations: 3.938 kB / 0.752 GB, free: 7.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002048/0.8165, allocations: 0.5187 MB / 0.7525 GB, free: 6.559 MB / 490.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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006147/0.8227, allocations: 3.149 MB / 0.7556 GB, free: 3.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00689/0.8296, allocations: 2.841 MB / 0.7583 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.8297, allocations: 0 / 0.7583 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.8324, allocations: 1.147 MB / 0.7594 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/0.8333, allocations: 67.3 kB / 0.7595 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.8379, allocations: 1.787 MB / 0.7613 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.8386, allocations: 1.027 MB / 0.7623 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006735/0.8392, allocations: 119.3 kB / 0.7624 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.8398, allocations: 327.3 kB / 0.7627 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.8398, allocations: 3.938 kB / 0.7627 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/0.898, allocations: 27.59 MB / 0.7896 GB, free: 352 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.8983, allocations: 199.3 kB / 0.7898 GB, free: 116 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.744, allocations: 0 / 0.7898 GB, free: 116 kB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)