Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001553/0.001553, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002263, allocations: 282.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 100.8 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1632, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02268/0.186, allocations: 20.22 MB / 0.7 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1963, allocations: 6.446 MB / 0.7063 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.1979, allocations: 91.5 kB / 0.7064 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005315/0.2033, allocations: 2.23 MB / 0.7086 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.2063, allocations: 1.189 MB / 0.7098 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.2094, allocations: 1.281 MB / 0.711 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004995/0.2144, allocations: 4.862 MB / 0.7158 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006896/0.2213, allocations: 5.626 MB / 0.7213 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.2244, allocations: 2.08 MB / 0.7233 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.2279, allocations: 2.34 MB / 0.7256 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.2291, allocations: 432 kB / 0.726 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.2319, allocations: 0.9986 MB / 0.727 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002214/0.2342, allocations: 1.668 MB / 0.7286 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003483/0.2377, allocations: 1.922 MB / 0.7305 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007398/0.2451, allocations: 6.47 MB / 0.7368 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2451, allocations: 3.984 kB / 0.7368 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2451, allocations: 4 kB / 0.7368 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002042/0.2453, allocations: 0 / 0.7368 GB, free: 6.551 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008126/0.2535, allocations: 3.448 MB / 0.7402 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2535, allocations: 8.031 kB / 0.7402 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009193/0.2544, allocations: 462.5 kB / 0.7406 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/0.2581, allocations: 0.6448 MB / 0.7412 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.2616, allocations: 1.936 MB / 0.7431 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.2618, allocations: 218.2 kB / 0.7433 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006034/0.2624, allocations: 304 kB / 0.7436 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007751/0.2702, allocations: 4.882 MB / 0.7484 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.2703, allocations: 7.938 kB / 0.7484 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.2706, allocations: 128 kB / 0.7485 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000417/0.271, allocations: 233.7 kB / 0.7488 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005887/0.2769, allocations: 3.754 MB / 0.7524 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2919/0.5688, allocations: 21.56 MB / 0.7735 GB, free: 84.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.5709, allocations: 1.295 MB / 0.7747 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.5725, allocations: 1.056 MB / 0.7758 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/0.5726, allocations: 13.72 kB / 0.7758 GB, free: 84.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5726, allocations: 47.02 kB / 0.7758 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.856e-06/0.5726, allocations: 0 / 0.7758 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.0251/0.5977, allocations: 8.654 MB / 0.7843 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5978, allocations: 67.19 kB / 0.7843 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.5993, allocations: 1.132 MB / 0.7855 GB, free: 82.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5994, allocations: 52.14 kB / 0.7855 GB, free: 82.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/0.6001, allocations: 1.296 MB / 0.7868 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.6005, allocations: 474.1 kB / 0.7872 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.6009, allocations: 290.2 kB / 0.7875 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.601, allocations: 305.1 kB / 0.7878 GB, free: 80.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.6022, allocations: 0.9102 MB / 0.7887 GB, free: 80.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6035, allocations: 1.33 MB / 0.79 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.6063, allocations: 2.425 MB / 0.7923 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6063, allocations: 2.312 kB / 0.7923 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00622/0.6125, allocations: 3.473 MB / 0.7957 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6126, allocations: 11.91 kB / 0.7957 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.6126, allocations: 16.56 kB / 0.7958 GB, free: 76.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.6158, allocations: 1.188 MB / 0.7969 GB, free: 76.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/0.6167, allocations: 262.4 kB / 0.7972 GB, free: 76.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.6313, allocations: 13.84 MB / 0.8107 GB, free: 66.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.6326, allocations: 91.31 kB / 0.8108 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.6327, allocations: 67.22 kB / 0.8108 GB, free: 66.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.6341, allocations: 1.121 MB / 0.8119 GB, free: 66.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.6343, allocations: 164.6 kB / 0.8121 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.6389, allocations: 3.165 MB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.639, allocations: 17.53 kB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.639, allocations: 14.98 kB / 0.8152 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.639, allocations: 10 kB / 0.8152 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.647, allocations: 6.245 MB / 0.8213 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.647, allocations: 3.375 kB / 0.8213 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.6476, allocations: 146.3 kB / 0.8215 GB, free: 60.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.6501, allocations: 1.088 MB / 0.8225 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/0.6502, allocations: 29.86 kB / 0.8226 GB, free: 59.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.6627, allocations: 13.54 MB / 0.8358 GB, free: 46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6628, allocations: 4 kB / 0.8358 GB, free: 46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.6671, allocations: 3.154 MB / 0.8389 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/0.6678, allocations: 427 kB / 0.8393 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.668, allocations: 28 kB / 0.8393 GB, free: 42.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.6687, allocations: 83.89 kB / 0.8394 GB, free: 42.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.669, allocations: 126.8 kB / 0.8395 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/0.6691, allocations: 43.94 kB / 0.8395 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007698/0.6698, allocations: 0.7632 MB / 0.8403 GB, free: 41.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6698, allocations: 0 / 0.8403 GB, free: 41.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001645/0.6715, allocations: 0.6641 MB / 0.8409 GB, free: 40.61 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004218/0.6757, allocations: 3.736 MB / 0.8446 GB, free: 36.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004563/0.6803, allocations: 3.638 MB / 0.8481 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.6803, allocations: 0 / 0.8481 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.6826, allocations: 1.956 MB / 0.85 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.6846, allocations: 0.5026 MB / 0.8505 GB, free: 30.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.7068, allocations: 20.1 MB / 0.8702 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.7084, allocations: 2.332 MB / 0.8724 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009186/0.7094, allocations: 356 kB / 0.8728 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.7102, allocations: 1.011 MB / 0.8738 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.7102, allocations: 0 / 0.8738 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08435/0.7946, allocations: 51.47 MB / 0.924 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.79, allocations: 15.94 kB / 0.924 GB, free: 3.254 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)