Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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) 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_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001107/0.001107, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001141/0.001141, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 241.1 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.28/0.28, allocations: 38.08 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003039, allocations: 8 kB / 400.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2882, allocations: 59.16 MB / 459.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006488/0.2948, allocations: 6.485 MB / 465.7 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.3004, allocations: 4.043 MB / 469.8 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.301, allocations: 15.25 kB / 469.8 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.3014, allocations: 142.8 kB / 469.9 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.3045, allocations: 0.7031 MB / 470.6 MB, free: 22.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.3056, allocations: 259.4 kB / 470.9 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.3068, allocations: 0.5866 MB / 471.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.309, allocations: 1.269 MB / 472.7 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008293/0.3099, allocations: 403.8 kB / 473.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006837/0.3106, allocations: 385 kB / 473.5 MB, free: 21.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.3107, allocations: 38.97 kB / 473.5 MB, free: 21.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.3135, allocations: 0.879 MB / 474.4 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.3141, allocations: 0.4995 MB / 474.9 MB, free: 20.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.3143, allocations: 220.3 kB / 475.1 MB, free: 20.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.3164, allocations: 1.338 MB / 476.5 MB, free: 20.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3164, allocations: 0 / 476.5 MB, free: 20.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.3164, allocations: 0 / 476.5 MB, free: 20.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3165, allocations: 0 / 476.5 MB, free: 20.1 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002111/0.3186, allocations: 1.168 MB / 477.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3186, allocations: 9.75 kB / 477.6 MB, free: 19.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.3188, allocations: 163.9 kB / 477.8 MB, free: 19.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.323, allocations: 0.6388 MB / 478.4 MB, free: 18.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3241, allocations: 0.5413 MB / 479 MB, free: 18.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.3242, allocations: 64.58 kB / 479 MB, free: 18.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3243, allocations: 93.14 kB / 479.1 MB, free: 18.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3265, allocations: 1.453 MB / 480.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.3266, allocations: 5.75 kB / 480.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3267, allocations: 36.3 kB / 480.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.3268, allocations: 102.1 kB / 480.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.3289, allocations: 1.484 MB / 482.2 MB, free: 16.62 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 preOpt removeSimpleEquations (simulation): time 0.006124/0.335, allocations: 4.866 MB / 487.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.3364, allocations: 1.167 MB / 488.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.186e-05/0.3365, allocations: 25.11 kB / 488.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3365, allocations: 39.56 kB / 488.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 2.866e-06/0.3365, allocations: 0 / 488.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.006311/0.3428, allocations: 3.609 MB / 491.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3429, allocations: 94.12 kB / 492 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.3433, allocations: 469.8 kB / 492.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.3434, allocations: 45.7 kB / 492.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3435, allocations: 427.4 kB / 492.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.3437, allocations: 366.6 kB / 493.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3438, allocations: 24 kB / 493.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.3439, allocations: 390.7 kB / 493.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.3445, allocations: 0.5179 MB / 494.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.3452, allocations: 0.7344 MB / 494.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.3459, allocations: 0.6471 MB / 495.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.346, allocations: 4 kB / 495.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002391/0.3483, allocations: 1.767 MB / 497.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3484, allocations: 11.94 kB / 497.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3484, allocations: 7.938 kB / 497.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/0.3494, allocations: 401.9 kB / 497.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/0.3502, allocations: 243.6 kB / 498 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.3566, allocations: 5.733 MB / 0.4919 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.3574, allocations: 75.86 kB / 0.492 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.3575, allocations: 40 kB / 0.492 GB, free: 10.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005793/0.358, allocations: 357.4 kB / 0.4924 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3582, allocations: 79.02 kB / 0.4925 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.3611, allocations: 1.783 MB / 0.4942 GB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3611, allocations: 12 kB / 0.4942 GB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3611, allocations: 4 kB / 0.4942 GB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3611, allocations: 7.969 kB / 0.4942 GB, free: 8.188 MB / 366.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.005528/0.3667, allocations: 3.423 MB / 0.4976 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.3667, allocations: 8.031 kB / 0.4976 GB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.3674, allocations: 187.8 kB / 0.4978 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/0.3683, allocations: 353.3 kB / 0.4981 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/0.3684, allocations: 28 kB / 0.4981 GB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.3747, allocations: 5.469 MB / 0.5035 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3747, allocations: 8.062 kB / 0.5035 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.3775, allocations: 1.957 MB / 0.5054 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.3778, allocations: 164.1 kB / 0.5055 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3779, allocations: 27.92 kB / 0.5056 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.3785, allocations: 51.91 kB / 0.5056 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.3787, allocations: 88.88 kB / 0.5057 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.3787, allocations: 36 kB / 0.5057 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.3791, allocations: 319.1 kB / 0.506 GB, free: 11.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 3.938 kB / 0.506 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001231/0.3804, allocations: 400 kB / 0.5064 GB, free: 11.09 MB / 382.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003204/0.3836, allocations: 3.561 MB / 0.5099 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.3861, allocations: 1.713 MB / 0.5116 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3861, allocations: 0 / 0.5116 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.3876, allocations: 1.069 MB / 0.5126 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.3883, allocations: 105 kB / 0.5127 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.3987, allocations: 10.15 MB / 0.5226 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/0.3997, allocations: 1.188 MB / 0.5238 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005818/0.4003, allocations: 245.3 kB / 0.524 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.4007, allocations: 343.3 kB / 0.5244 GB, free: 8.293 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4008, allocations: 0 / 0.5244 GB, free: 8.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.4365, allocations: 18.42 MB / 0.5423 GB, free: 6.051 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.4368, allocations: 225.5 kB / 0.5426 GB, free: 5.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.525, allocations: 0 / 0.5426 GB, free: 5.797 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat does not exist to compare? outputFormat=mat