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.001513/0.001513, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008664/0.0008663, allocations: 88.61 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08485/0.08485, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.317/0.317, allocations: 78.07 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.905e-05, allocations: 0 / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 69.24 MB / 0.5819 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.554/0.6978, allocations: 99.92 MB / 0.6794 GB, free: 8.836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.6981, allocations: 78.52 kB / 0.6795 GB, free: 8.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05495/0.753, allocations: 21.74 MB / 0.7007 GB, free: 6.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.7531, allocations: 0 / 0.7007 GB, free: 6.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.166e-05/0.7531, allocations: 27.92 kB / 0.7008 GB, free: 6.906 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003435/0.7566, allocations: 1.324 MB / 0.7021 GB, free: 5.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.7567, allocations: 8.031 kB / 0.7021 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.7589, allocations: 401.3 kB / 0.7025 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.7602, allocations: 0.6613 MB / 0.7031 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.7604, allocations: 215 kB / 0.7033 GB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.7605, allocations: 40 kB / 0.7033 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/0.7616, allocations: 0.5926 MB / 0.7039 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.7629, allocations: 0.6752 MB / 0.7046 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.7629, allocations: 3.938 kB / 0.7046 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.763, allocations: 0 / 0.7046 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.763, allocations: 20 kB / 0.7046 GB, free: 3.578 MB / 442.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.005638/0.7687, allocations: 3.21 MB / 0.7077 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007845/0.7765, allocations: 2.263 MB / 0.7099 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.7771, allocations: 396.9 kB / 0.7103 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.752e-05/0.7772, allocations: 8.781 kB / 0.7103 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.7772, allocations: 38.84 kB / 0.7104 GB, free: 14.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 3.006e-06/0.7772, allocations: 0 / 0.7104 GB, free: 14.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=72): time 0.004452/0.7817, allocations: 1.706 MB / 0.712 GB, free: 13.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.7817, allocations: 89.81 kB / 0.7121 GB, free: 13.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.7826, allocations: 0.6295 MB / 0.7127 GB, free: 12.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.7827, allocations: 29.64 kB / 0.7128 GB, free: 12.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.783, allocations: 417.7 kB / 0.7132 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.7832, allocations: 251.4 kB / 0.7134 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.7833, allocations: 0 / 0.7134 GB, free: 12.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.7834, allocations: 337.3 kB / 0.7137 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.7839, allocations: 332.2 kB / 0.714 GB, free: 11.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.7844, allocations: 433.7 kB / 0.7145 GB, free: 11.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.785, allocations: 370.7 kB / 0.7148 GB, free: 11.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.785, allocations: 0 / 0.7148 GB, free: 11.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005047/0.7901, allocations: 1.925 MB / 0.7167 GB, free: 9.902 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.7903, allocations: 0.6173 MB / 0.7173 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7903, allocations: 4 kB / 0.7173 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/0.7942, allocations: 1.002 MB / 0.7183 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.7948, allocations: 110.2 kB / 0.7184 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/0.8024, allocations: 4.383 MB / 0.7227 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.8037, allocations: 91.39 kB / 0.7227 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8038, allocations: 27.11 kB / 0.7228 GB, free: 4.949 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8038, allocations: 5.406 kB / 0.7228 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005065/0.8089, allocations: 1.794 MB / 0.7245 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.809, allocations: 3.953 kB / 0.7245 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/0.8127, allocations: 0.9962 MB / 0.7255 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.8134, allocations: 99.83 kB / 0.7256 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007546/0.821, allocations: 4.385 MB / 0.7299 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.8221, allocations: 87.33 kB / 0.73 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.8222, allocations: 27.12 kB / 0.73 GB, free: 15.25 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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.0003944/0.8226, allocations: 113.9 kB / 0.7301 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004608/0.8272, allocations: 1.699 MB / 0.7318 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.8275, allocations: 90.88 kB / 0.7318 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.8319, allocations: 1.773 MB / 0.7336 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.832, allocations: 8 kB / 0.7336 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.832, allocations: 8 kB / 0.7336 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.832, allocations: 3.984 kB / 0.7336 GB, free: 11.71 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.006046/0.838, allocations: 3.068 MB / 0.7366 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.8381, allocations: 0 / 0.7366 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.8386, allocations: 91.89 kB / 0.7367 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/0.8413, allocations: 0.8242 MB / 0.7375 GB, free: 7.637 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.8414, allocations: 7.938 kB / 0.7375 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.8469, allocations: 3.427 MB / 0.7408 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.8469, allocations: 4 kB / 0.7408 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/0.8521, allocations: 2.357 MB / 0.7431 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.8525, allocations: 187.8 kB / 0.7433 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.8527, allocations: 8 kB / 0.7433 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.8535, allocations: 55.95 kB / 0.7434 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/0.8538, allocations: 116.6 kB / 0.7435 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.8539, allocations: 20 kB / 0.7435 GB, free: 1.277 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000702/0.8546, allocations: 491.2 kB / 0.744 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8546, allocations: 0 / 0.744 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00172/0.8563, allocations: 479.1 kB / 0.7444 GB, free: 344 kB / 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: 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.005682/0.862, allocations: 3.083 MB / 0.7475 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00651/0.8685, allocations: 2.733 MB / 0.7501 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8686, allocations: 4.062 kB / 0.7501 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.8711, allocations: 1.121 MB / 0.7512 GB, free: 9.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/0.8719, allocations: 59.23 kB / 0.7513 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.8757, allocations: 1.718 MB / 0.753 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.8763, allocations: 1.028 MB / 0.754 GB, free: 6.297 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005672/0.8769, allocations: 119.3 kB / 0.7541 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.8773, allocations: 327.3 kB / 0.7544 GB, free: 5.859 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8773, allocations: 0 / 0.7544 GB, free: 5.859 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05664/0.9339, allocations: 25.52 MB / 0.7793 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.9342, allocations: 163.7 kB / 0.7795 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.068, allocations: 7.375 kB / 0.7795 GB, free: 12.16 MB / 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)