Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",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.001106/0.001106, allocations: 174 kB / 12.73 MB, free: 2.586 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.595/1.595, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008709/0.0008709, allocations: 81.08 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.07951/0.07951, allocations: 12.19 MB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.303/0.303, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.961e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 69.25 MB / 0.589 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.6039, allocations: 100.8 MB / 0.6874 GB, free: 15.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.6042, allocations: 78.27 kB / 0.6875 GB, free: 15.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.6617, allocations: 22.31 MB / 0.7093 GB, free: 12.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6617, allocations: 3.938 kB / 0.7093 GB, free: 12.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.955e-05/0.6617, allocations: 16 kB / 0.7093 GB, free: 12.54 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003208/0.665, allocations: 1.322 MB / 0.7106 GB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.665, allocations: 11.98 kB / 0.7106 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.6652, allocations: 107.6 kB / 0.7107 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.6674, allocations: 396.2 kB / 0.7111 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6684, allocations: 0.6391 MB / 0.7117 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.6686, allocations: 212.4 kB / 0.7119 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.6688, allocations: 69.67 kB / 0.712 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.67, allocations: 0.7395 MB / 0.7127 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.67, allocations: 0 / 0.7127 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.6701, allocations: 23.25 kB / 0.7127 GB, free: 9.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.6701, allocations: 16 kB / 0.7128 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009979/0.6711, allocations: 0.6046 MB / 0.7133 GB, free: 9.141 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.005192/0.6763, allocations: 3.153 MB / 0.7164 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.6894, allocations: 3.731 MB / 0.7201 GB, free: 3.242 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.6902, allocations: 411.8 kB / 0.7205 GB, free: 3.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.6903, allocations: 16.53 kB / 0.7205 GB, free: 3.008 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.6904, allocations: 45.81 kB / 0.7205 GB, free: 2.961 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 4.489e-06/0.6904, allocations: 0 / 0.7205 GB, free: 2.961 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.005841/0.6962, allocations: 1.992 MB / 0.7225 GB, free: 1.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.6963, allocations: 89.61 kB / 0.7226 GB, free: 1.234 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6974, allocations: 0.673 MB / 0.7232 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.6975, allocations: 40.2 kB / 0.7232 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.6978, allocations: 411.5 kB / 0.7236 GB, free: 464 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.698, allocations: 250.6 kB / 0.7239 GB, free: 244 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.6981, allocations: 14.94 kB / 0.7239 GB, free: 240 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6982, allocations: 332.5 kB / 0.7242 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.6988, allocations: 348.4 kB / 0.7245 GB, free: 15.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.6994, allocations: 451.2 kB / 0.725 GB, free: 15.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.7001, allocations: 391.6 kB / 0.7253 GB, free: 15.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7001, allocations: 0 / 0.7253 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006419/0.7065, allocations: 2.239 MB / 0.7275 GB, free: 13.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.7068, allocations: 0.712 MB / 0.7282 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7068, allocations: 0 / 0.7282 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/0.7109, allocations: 1.056 MB / 0.7293 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.7116, allocations: 106.8 kB / 0.7294 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/0.7204, allocations: 4.746 MB / 0.734 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.7215, allocations: 133.2 kB / 0.7341 GB, free: 8.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/0.7216, allocations: 19.44 kB / 0.7341 GB, free: 7.996 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.7216, allocations: 4 kB / 0.7341 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006054/0.7276, allocations: 2.128 MB / 0.7362 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/0.7277, allocations: 12 kB / 0.7362 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/0.7315, allocations: 1.055 MB / 0.7373 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.732, allocations: 99.02 kB / 0.7374 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008702/0.7407, allocations: 4.736 MB / 0.742 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7419, allocations: 119.5 kB / 0.7421 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.742, allocations: 20 kB / 0.7421 GB, free: 1.539 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.7422, allocations: 144.8 kB / 0.7423 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.7424, allocations: 90.88 kB / 0.7423 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/0.7481, allocations: 2.102 MB / 0.7444 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7481, allocations: 8 kB / 0.7444 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.7481, allocations: 4 kB / 0.7444 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.7481, allocations: 7.922 kB / 0.7444 GB, free: 15.16 MB / 490.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.007606/0.7557, allocations: 3.429 MB / 0.7478 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.7558, allocations: 0 / 0.7478 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.7563, allocations: 83.89 kB / 0.7478 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/0.7591, allocations: 0.8923 MB / 0.7487 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.7592, allocations: 12 kB / 0.7487 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/0.7655, allocations: 3.636 MB / 0.7523 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7656, allocations: 8 kB / 0.7523 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.7721, allocations: 2.676 MB / 0.7549 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.7724, allocations: 187.8 kB / 0.7551 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.7726, allocations: 16.11 kB / 0.7551 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/0.7734, allocations: 87.86 kB / 0.7552 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.7737, allocations: 128.3 kB / 0.7553 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.7738, allocations: 16 kB / 0.7553 GB, free: 3.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000748/0.7745, allocations: 0.5344 MB / 0.7558 GB, free: 3.152 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7745, allocations: 3.938 kB / 0.7558 GB, free: 3.148 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001492/0.776, allocations: 0.507 MB / 0.7563 GB, free: 2.641 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006926/0.783, allocations: 3.404 MB / 0.7597 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006938/0.7899, allocations: 2.949 MB / 0.7625 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7899, allocations: 0 / 0.7625 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.7927, allocations: 1.193 MB / 0.7637 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.7934, allocations: 65.83 kB / 0.7638 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.7973, allocations: 1.729 MB / 0.7655 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.798, allocations: 1.016 MB / 0.7664 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005706/0.7986, allocations: 119.2 kB / 0.7666 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.799, allocations: 319.3 kB / 0.7669 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of SimCode: time 1.744e-06/0.799, allocations: 0 / 0.7669 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05321/0.8523, allocations: 28.56 MB / 0.7948 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.8525, allocations: 197.4 kB / 0.7949 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.569, allocations: 0 / 0.7949 GB, free: 10.89 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)