Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_release_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_release_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 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 171.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 96.72 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4445/0.4445, allocations: 78.12 MB / 409.4 MB, free: 6.484 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.44e-05, allocations: 3.938 kB / 485.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 69.37 MB / 0.5414 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4791, allocations: 98.67 MB / 0.6378 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4794, allocations: 81.75 kB / 0.6379 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06064/0.54, allocations: 22.7 MB / 0.66 GB, free: 10.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.54, allocations: 2.531 kB / 0.66 GB, free: 10.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.414e-05/0.5401, allocations: 20 kB / 0.6601 GB, free: 10.18 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003267/0.5434, allocations: 1.329 MB / 0.6614 GB, free: 8.805 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5434, allocations: 8.031 kB / 0.6614 GB, free: 8.797 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.5457, allocations: 394.3 kB / 0.6617 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5468, allocations: 0.6332 MB / 0.6624 GB, free: 7.738 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.547, allocations: 189.8 kB / 0.6625 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5471, allocations: 39.91 kB / 0.6626 GB, free: 7.484 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000998/0.5481, allocations: 0.5809 MB / 0.6631 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5493, allocations: 0.6563 MB / 0.6638 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5493, allocations: 4 kB / 0.6638 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.5494, allocations: 0 / 0.6638 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5494, allocations: 19.94 kB / 0.6638 GB, free: 6.207 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 preOpt removeSimpleEquations (simulation): time 0.005238/0.5546, allocations: 3.038 MB / 0.6668 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.5679, allocations: 3.711 MB / 0.6704 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.5687, allocations: 398.5 kB / 0.6708 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/0.5688, allocations: 12.56 kB / 0.6708 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5689, allocations: 39.12 kB / 0.6708 GB, free: 14.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.196e-06/0.5689, allocations: 0 / 0.6708 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005613/0.5745, allocations: 1.945 MB / 0.6727 GB, free: 12.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5746, allocations: 89.67 kB / 0.6728 GB, free: 12.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/0.5755, allocations: 0.6215 MB / 0.6734 GB, free: 12.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.5756, allocations: 25.7 kB / 0.6734 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.5759, allocations: 404.3 kB / 0.6738 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5761, allocations: 248.3 kB / 0.6741 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.5762, allocations: 0 / 0.6741 GB, free: 11.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5763, allocations: 334.8 kB / 0.6744 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.5768, allocations: 333.6 kB / 0.6747 GB, free: 10.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.5775, allocations: 434.7 kB / 0.6751 GB, free: 10.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.578, allocations: 377.3 kB / 0.6755 GB, free: 9.977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.578, allocations: 0 / 0.6755 GB, free: 9.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00632/0.5844, allocations: 2.172 MB / 0.6776 GB, free: 7.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.5846, allocations: 0.6983 MB / 0.6783 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5847, allocations: 3.984 kB / 0.6783 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/0.5887, allocations: 1.055 MB / 0.6793 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.5893, allocations: 111.8 kB / 0.6794 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/0.5976, allocations: 4.567 MB / 0.6839 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.5988, allocations: 115.2 kB / 0.684 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5989, allocations: 23.98 kB / 0.684 GB, free: 1.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5989, allocations: 7.953 kB / 0.684 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006219/0.6051, allocations: 2.05 MB / 0.686 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.6052, allocations: 6.438 kB / 0.686 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/0.6091, allocations: 1.037 MB / 0.687 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.6097, allocations: 103.8 kB / 0.6871 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/0.6182, allocations: 4.579 MB / 0.6916 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6193, allocations: 95.47 kB / 0.6917 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.6194, allocations: 27.98 kB / 0.6917 GB, free: 8.98 MB / 0.4948 GB 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" 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.000318/0.6198, allocations: 116.9 kB / 0.6918 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005558/0.6253, allocations: 1.954 MB / 0.6938 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.6256, allocations: 90.88 kB / 0.6938 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/0.6313, allocations: 2.022 MB / 0.6958 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6313, allocations: 8 kB / 0.6958 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6313, allocations: 4 kB / 0.6958 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.6313, allocations: 3.984 kB / 0.6958 GB, free: 4.746 MB / 0.4948 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.007448/0.6388, allocations: 3.297 MB / 0.6991 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6388, allocations: 4.062 kB / 0.6991 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.6394, allocations: 79.91 kB / 0.6991 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/0.6423, allocations: 0.8795 MB / 0.7 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.6424, allocations: 5.969 kB / 0.7 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.6487, allocations: 3.558 MB / 0.7035 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6488, allocations: 0 / 0.7035 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.655, allocations: 2.609 MB / 0.706 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.6554, allocations: 191.7 kB / 0.7062 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6555, allocations: 3.984 kB / 0.7062 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/0.6564, allocations: 78.75 kB / 0.7063 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.6568, allocations: 128.3 kB / 0.7064 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.6568, allocations: 16 kB / 0.7064 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006574/0.6575, allocations: 487.2 kB / 0.7069 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6575, allocations: 0 / 0.7069 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001511/0.659, allocations: 487.1 kB / 0.7073 GB, free: 8.691 MB / 0.5105 GB 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.006677/0.6657, allocations: 3.334 MB / 0.7106 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007076/0.6728, allocations: 2.849 MB / 0.7134 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6728, allocations: 0 / 0.7134 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.6761, allocations: 1.167 MB / 0.7145 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/0.6768, allocations: 54.67 kB / 0.7146 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.6804, allocations: 1.666 MB / 0.7162 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.681, allocations: 1.02 MB / 0.7172 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.6815, allocations: 111.2 kB / 0.7173 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.682, allocations: 319.3 kB / 0.7176 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/0.682, allocations: 3.938 kB / 0.7176 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/0.7386, allocations: 26.37 MB / 0.7434 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.7388, allocations: 159 kB / 0.7435 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.567, allocations: 4.031 kB / 0.7435 GB, free: 3.582 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)