Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.004686/0.004691, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001094/0.001094, allocations: 189.4 kB / 16.67 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002309, allocations: 286.4 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9698/0.9698, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 95.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1618, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3333/0.4951, allocations: 22.58 MB / 0.788 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.5073, allocations: 6.222 MB / 0.794 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.5101, allocations: 96.31 kB / 0.7941 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004442/0.5146, allocations: 1.547 MB / 0.7956 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.5191, allocations: 1.729 MB / 0.7973 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.523, allocations: 1.337 MB / 0.7986 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007458/0.5305, allocations: 5.954 MB / 0.8045 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009611/0.5401, allocations: 6.046 MB / 0.8104 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.5451, allocations: 2.451 MB / 0.8128 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005305/0.5504, allocations: 2.865 MB / 0.8156 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001635/0.5521, allocations: 457.3 kB / 0.816 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.5557, allocations: 1.101 MB / 0.8171 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004642/0.5603, allocations: 2.026 MB / 0.819 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005014/0.5654, allocations: 2.168 MB / 0.8212 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008439/0.5738, allocations: 7.295 MB / 0.8283 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5738, allocations: 0.9062 kB / 0.8283 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.955e-06/0.5739, allocations: 0 / 0.8283 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001795/0.574, allocations: 3.938 kB / 0.8283 GB, free: 14.74 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008652/0.5827, allocations: 3.822 MB / 0.832 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5828, allocations: 9.344 kB / 0.832 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/0.5838, allocations: 0.4969 MB / 0.8325 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.5904, allocations: 1.204 MB / 0.8337 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.5973, allocations: 2.341 MB / 0.836 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/0.5977, allocations: 251.4 kB / 0.8362 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.5996, allocations: 313.8 kB / 0.8365 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.6127, allocations: 6.213 MB / 0.8426 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/0.6128, allocations: 15.92 kB / 0.8426 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.6133, allocations: 139.9 kB / 0.8427 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004793/0.6138, allocations: 402.3 kB / 0.8431 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007588/0.6214, allocations: 4.666 MB / 0.8477 GB, free: 44 kB / 0.5919 GB 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.02915/0.6505, allocations: 28.95 MB / 0.8759 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.6526, allocations: 1.418 MB / 0.8773 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.6545, allocations: 1.48 MB / 0.8788 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.6546, allocations: 9 kB / 0.8788 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.6547, allocations: 47.5 kB / 0.8788 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.025e-06/0.6547, allocations: 3.938 kB / 0.8788 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=179): time 0.1271/0.7818, allocations: 37.24 MB / 0.9152 GB, free: 8.078 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.7819, allocations: 77.28 kB / 0.9153 GB, free: 7.988 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.7839, allocations: 1.419 MB / 0.9167 GB, free: 6.562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.7841, allocations: 57.7 kB / 0.9167 GB, free: 6.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000909/0.785, allocations: 1.538 MB / 0.9182 GB, free: 4.941 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005532/0.7856, allocations: 0.6084 MB / 0.9188 GB, free: 4.324 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.7863, allocations: 383.3 kB / 0.9192 GB, free: 3.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.7864, allocations: 301.1 kB / 0.9195 GB, free: 3.645 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.7889, allocations: 1.788 MB / 0.9212 GB, free: 1.852 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/0.7917, allocations: 2.346 MB / 0.9235 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/0.7973, allocations: 4.391 MB / 0.9278 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.7973, allocations: 11.88 kB / 0.9278 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01693/0.8143, allocations: 8.567 MB / 0.9362 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.8143, allocations: 14.34 kB / 0.9362 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.8144, allocations: 20 kB / 0.9362 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/0.8285, allocations: 4.632 MB / 0.9407 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.8297, allocations: 303.5 kB / 0.941 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0462/0.8759, allocations: 32.59 MB / 0.9728 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.8782, allocations: 155.8 kB / 0.973 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.8785, allocations: 83.94 kB / 0.9731 GB, free: 11.34 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002389/0.8809, allocations: 1.329 MB / 0.9744 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.8813, allocations: 193.7 kB / 0.9746 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/0.8983, allocations: 8.445 MB / 0.9828 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.8984, allocations: 16 kB / 0.9828 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.391e-05/0.8985, allocations: 27.94 kB / 0.9828 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/0.8985, allocations: 11.97 kB / 0.9829 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/0.9231, allocations: 12.84 MB / 0.9954 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.9231, allocations: 8.844 kB / 0.9954 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.9238, allocations: 167.7 kB / 0.9956 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/0.9382, allocations: 4.49 MB / 0.9999 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/0.9386, allocations: 36.11 kB / 1 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0455/0.9841, allocations: 32.2 MB / 1.031 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.9841, allocations: 8 kB / 1.031 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.001, allocations: 8.24 MB / 1.039 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.002, allocations: 0.6157 MB / 1.04 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.003, allocations: 40 kB / 1.04 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.004, allocations: 135.8 kB / 1.04 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008378/1.005, allocations: 165 kB / 1.04 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.005, allocations: 52 kB / 1.04 GB, free: 5.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001472/1.007, allocations: 0.9626 MB / 1.041 GB, free: 4.133 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/1.007, allocations: 0 / 1.041 GB, free: 4.133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004715/1.011, allocations: 1.113 MB / 1.042 GB, free: 3.02 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/1.028, allocations: 8.832 MB / 1.051 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.04, allocations: 6.558 MB / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.04, allocations: 0 / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008914/1.049, allocations: 4.355 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.052, allocations: 0.5295 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3807/1.433, allocations: 33.63 MB / 1.095 GB, free: 273.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004474/1.437, allocations: 2.727 MB / 1.098 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001437/1.439, allocations: 388.9 kB / 1.098 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.441, allocations: 1.216 MB / 1.099 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.274e-06/1.441, allocations: 0 / 1.099 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/1.569, allocations: 83.91 MB / 1.181 GB, free: 228.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.62, allocations: 18.56 kB / 1.181 GB, free: 228.4 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)