Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.conf.json 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/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001114, allocations: 98.89 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1737/0.1737, allocations: 37.99 MB / 308.6 MB, free: 6.242 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.91 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 55.25 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005802/0.2712, allocations: 7.626 MB / 437.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.2755, allocations: 4.535 MB / 442.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.2759, allocations: 19.88 kB / 442.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.2779, allocations: 0.9841 MB / 443.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.2801, allocations: 1.145 MB / 444.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.2808, allocations: 279.3 kB / 444.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.2823, allocations: 2.588 MB / 447.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.2831, allocations: 0.6568 MB / 447.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.2837, allocations: 0.5094 MB / 448.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.2844, allocations: 0.7321 MB / 449 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.2845, allocations: 48 kB / 449.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.287, allocations: 1.613 MB / 450.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.2875, allocations: 470.8 kB / 451.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.288, allocations: 422 kB / 451.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.2901, allocations: 1.531 MB / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2901, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2901, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2901, allocations: 0 / 453.1 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001772/0.2919, allocations: 1.12 MB / 454.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.292, allocations: 16.03 kB / 454.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.2922, allocations: 131.2 kB / 454.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.2952, allocations: 395.3 kB / 454.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.296, allocations: 470.6 kB / 455.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.296, allocations: 62.36 kB / 455.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.2962, allocations: 68.36 kB / 455.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.298, allocations: 1.176 MB / 456.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.298, allocations: 7.922 kB / 456.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.2981, allocations: 31.98 kB / 456.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.099e-05/0.2982, allocations: 69.97 kB / 456.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.3, allocations: 1.241 MB / 457.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.3051, allocations: 3.515 MB / 461.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3066, allocations: 1.073 MB / 462.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.3075, allocations: 0.6528 MB / 463.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.591e-05/0.3075, allocations: 20.97 kB / 463.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3076, allocations: 47.56 kB / 463.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.136e-06/0.3076, allocations: 0 / 463.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006281/0.3139, allocations: 3.091 MB / 466.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.314, allocations: 86.11 kB / 466.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3144, allocations: 365.6 kB / 466.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.3144, allocations: 37.7 kB / 466.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3146, allocations: 320.1 kB / 467 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.3149, allocations: 311.4 kB / 467.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.3152, allocations: 154.6 kB / 467.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3153, allocations: 370.8 kB / 467.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.316, allocations: 465.7 kB / 468.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.3167, allocations: 0.5773 MB / 468.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.3182, allocations: 1.109 MB / 470 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3182, allocations: 4 kB / 470 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002361/0.3206, allocations: 1.481 MB / 471.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3206, allocations: 4 kB / 471.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3206, allocations: 4 kB / 471.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009221/0.3215, allocations: 330.2 kB / 471.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.3222, allocations: 187.7 kB / 472 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.3271, allocations: 3.86 MB / 475.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.3275, allocations: 51.92 kB / 475.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.3276, allocations: 39.92 kB / 476 MB, free: 5.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.328, allocations: 293.7 kB / 476.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3282, allocations: 59.25 kB / 476.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.3307, allocations: 1.567 MB / 477.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3307, allocations: 16 kB / 477.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3307, allocations: 4 kB / 477.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.3308, allocations: 7.969 kB / 477.9 MB, free: 3.156 MB / 350.1 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.004912/0.3357, allocations: 3.04 MB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.3357, allocations: 4 kB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.3364, allocations: 167.7 kB / 481.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008945/0.3373, allocations: 285 kB / 481.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.3373, allocations: 23.98 kB / 481.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.3421, allocations: 3.597 MB / 485 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/0.3421, allocations: 7.938 kB / 485 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.3448, allocations: 1.596 MB / 486.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.3451, allocations: 140.3 kB / 486.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.3452, allocations: 24 kB / 486.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.3457, allocations: 39.95 kB / 486.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3459, allocations: 88.77 kB / 486.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.346, allocations: 32 kB / 486.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003817/0.3464, allocations: 259.1 kB / 487.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3464, allocations: 4 kB / 487.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001254/0.3477, allocations: 304 kB / 487.5 MB, free: 9.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002993/0.3507, allocations: 2.168 MB / 489.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.3532, allocations: 1.389 MB / 491 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.3533, allocations: 4 kB / 491 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.3546, allocations: 0.836 MB / 491.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008127/0.3554, allocations: 110.8 kB / 492 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.3668, allocations: 7.945 MB / 499.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/0.3676, allocations: 1.072 MB / 0.4893 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.3681, allocations: 192.5 kB / 0.4894 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.3685, allocations: 255.3 kB / 0.4897 GB, free: 10.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3685, allocations: 0 / 0.4897 GB, free: 10.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.4021, allocations: 15.53 MB / 0.5048 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.4024, allocations: 233 kB / 0.5051 GB, free: 11.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.445, allocations: 0 / 0.5051 GB, free: 11.09 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)