Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001009/0.001009, allocations: 171.6 kB / 16.07 MB, free: 5.699 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.323/1.323, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.0006988/0.0006988, allocations: 84.92 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.173/0.173, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 56.33 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006361/0.2847, allocations: 6.843 MB / 486.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.2902, allocations: 4.23 MB / 490.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.2907, allocations: 14.53 kB / 490.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.2911, allocations: 138.8 kB / 491 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.2942, allocations: 1.154 MB / 492.1 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.2952, allocations: 294.4 kB / 492.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.2976, allocations: 1.923 MB / 494.3 MB, free: 292 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.2999, allocations: 1.373 MB / 495.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000994/0.3009, allocations: 0.4914 MB / 496.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.302, allocations: 0.7351 MB / 496.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.3021, allocations: 43.78 kB / 497 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.3058, allocations: 1.703 MB / 498.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.3065, allocations: 0.5764 MB / 499.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.3071, allocations: 0.4994 MB / 499.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.3094, allocations: 1.41 MB / 0.4894 GB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3095, allocations: 1.156 kB / 0.4894 GB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3095, allocations: 0 / 0.4894 GB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3095, allocations: 0 / 0.4894 GB, free: 13.13 MB / 330.7 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.002181/0.3117, allocations: 1.166 MB / 0.4906 GB, free: 12.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3117, allocations: 9.375 kB / 0.4906 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.3119, allocations: 160.9 kB / 0.4907 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.3155, allocations: 0.5386 MB / 0.4912 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.3164, allocations: 0.5549 MB / 0.4918 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.3165, allocations: 73.19 kB / 0.4919 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.3166, allocations: 85.36 kB / 0.4919 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.319, allocations: 1.498 MB / 0.4934 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.3191, allocations: 6.406 kB / 0.4934 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.3192, allocations: 35.61 kB / 0.4934 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.3193, allocations: 102.5 kB / 0.4935 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.3219, allocations: 1.533 MB / 0.495 GB, free: 9.656 MB / 330.7 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.00764/0.3295, allocations: 4.953 MB / 0.4999 GB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.3313, allocations: 1.172 MB / 0.501 GB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3323, allocations: 0.769 MB / 0.5018 GB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.3324, allocations: 21.05 kB / 0.5018 GB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3324, allocations: 47.55 kB / 0.5018 GB, free: 3.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.3325, allocations: 0 / 0.5018 GB, free: 3.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=108): time 0.00747/0.3399, allocations: 3.689 MB / 0.5054 GB, free: 84 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.34, allocations: 90.05 kB / 0.5055 GB, free: 15.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.3406, allocations: 469.8 kB / 0.506 GB, free: 15.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.3407, allocations: 45.7 kB / 0.506 GB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.3409, allocations: 427.4 kB / 0.5064 GB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.3412, allocations: 370.5 kB / 0.5068 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.3413, allocations: 20 kB / 0.5068 GB, free: 14.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3415, allocations: 386.8 kB / 0.5072 GB, free: 14.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/0.3423, allocations: 0.5374 MB / 0.5077 GB, free: 13.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/0.3432, allocations: 0.7461 MB / 0.5084 GB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.345, allocations: 1.392 MB / 0.5098 GB, free: 11.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.345, allocations: 0 / 0.5098 GB, free: 11.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002933/0.348, allocations: 1.794 MB / 0.5115 GB, free: 9.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.348, allocations: 10.19 kB / 0.5115 GB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.348, allocations: 4 kB / 0.5115 GB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3491, allocations: 413.5 kB / 0.5119 GB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.35, allocations: 235.6 kB / 0.5122 GB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.3567, allocations: 5.606 MB / 0.5176 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008793/0.3576, allocations: 79.83 kB / 0.5177 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.3577, allocations: 43.98 kB / 0.5177 GB, free: 2.941 MB / 346.7 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.0005773/0.3583, allocations: 357.4 kB / 0.5181 GB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3584, allocations: 71.16 kB / 0.5182 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.3614, allocations: 1.806 MB / 0.5199 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3614, allocations: 12 kB / 0.5199 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3614, allocations: 8 kB / 0.5199 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.3614, allocations: 7.969 kB / 0.5199 GB, free: 0.6641 MB / 346.7 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.005602/0.3671, allocations: 3.466 MB / 0.5233 GB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.3671, allocations: 4 kB / 0.5233 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.3678, allocations: 191.7 kB / 0.5235 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.3687, allocations: 349.8 kB / 0.5239 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/0.3688, allocations: 28 kB / 0.5239 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/0.3749, allocations: 5.332 MB / 0.5291 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.3749, allocations: 11.88 kB / 0.5291 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.3778, allocations: 1.811 MB / 0.5309 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.378, allocations: 160.1 kB / 0.531 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.3782, allocations: 31.98 kB / 0.531 GB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.3787, allocations: 51.89 kB / 0.5311 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.3789, allocations: 88.81 kB / 0.5312 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.379, allocations: 36 kB / 0.5312 GB, free: 4.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003916/0.3794, allocations: 327 kB / 0.5315 GB, free: 4.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3794, allocations: 4 kB / 0.5315 GB, free: 4.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001273/0.3807, allocations: 396 kB / 0.5319 GB, free: 3.902 MB / 362.7 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.003122/0.3838, allocations: 2.391 MB / 0.5342 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.3866, allocations: 1.74 MB / 0.5359 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3866, allocations: 0 / 0.5359 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.3881, allocations: 1.073 MB / 0.537 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.3891, allocations: 137.7 kB / 0.5371 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/0.3983, allocations: 6.53 MB / 0.5435 GB, free: 7.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.3992, allocations: 1.171 MB / 0.5446 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/0.3998, allocations: 351.3 kB / 0.545 GB, free: 6.176 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3998, allocations: 0 / 0.545 GB, free: 6.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.315/4.715, allocations: 20.65 MB / 0.5651 GB, free: 1.457 MB / 394.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)