Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.007245/0.007245, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001652/0.001652, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 293 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 92.22 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3987, allocations: 86.97 MB / 0.7659 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01241/0.4111, allocations: 10.08 MB / 0.7757 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.4163, allocations: 3.182 MB / 0.7789 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.4169, allocations: 35.81 kB / 0.7789 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.4184, allocations: 0.5907 MB / 0.7795 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.4198, allocations: 0.7779 MB / 0.7802 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.4212, allocations: 0.7505 MB / 0.781 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002705/0.4239, allocations: 2.992 MB / 0.7839 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.4265, allocations: 2.598 MB / 0.7864 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.428, allocations: 1.262 MB / 0.7877 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.4298, allocations: 1.554 MB / 0.7892 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.4301, allocations: 240 kB / 0.7894 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008929/0.431, allocations: 0.5071 MB / 0.7899 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000929/0.432, allocations: 1.064 MB / 0.7909 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4331, allocations: 1.109 MB / 0.792 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.4361, allocations: 3.685 MB / 0.7956 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4361, allocations: 0 / 0.7956 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4362, allocations: 0 / 0.7956 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.862e-05/0.4362, allocations: 0 / 0.7956 GB, free: 5.449 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003561/0.4398, allocations: 2.142 MB / 0.7977 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4398, allocations: 12.03 kB / 0.7977 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/0.4401, allocations: 261.2 kB / 0.798 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008308/0.4484, allocations: 1.309 MB / 0.7992 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.4511, allocations: 1.309 MB / 0.8005 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.4512, allocations: 111.4 kB / 0.8006 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.4515, allocations: 144.3 kB / 0.8008 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.4567, allocations: 3.435 MB / 0.8041 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.4567, allocations: 7.844 kB / 0.8041 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.4569, allocations: 71.91 kB / 0.8042 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/0.4572, allocations: 211.1 kB / 0.8044 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.4619, allocations: 3.12 MB / 0.8074 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.4787, allocations: 13.56 MB / 0.8207 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.4813, allocations: 1.724 MB / 0.8224 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.4834, allocations: 1.441 MB / 0.8238 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.983e-05/0.4835, allocations: 9 kB / 0.8238 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4836, allocations: 43.56 kB / 0.8238 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.4836, allocations: 0 / 0.8238 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1317/0.6153, allocations: 36.69 MB / 0.8597 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.6154, allocations: 69.41 kB / 0.8597 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.617, allocations: 1.057 MB / 0.8608 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.6173, allocations: 53.7 kB / 0.8608 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.6179, allocations: 0.7912 MB / 0.8616 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.6185, allocations: 0.6201 MB / 0.8622 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007993/0.6193, allocations: 363.3 kB / 0.8625 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6195, allocations: 301.1 kB / 0.8628 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.6222, allocations: 1.928 MB / 0.8647 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.6252, allocations: 2.3 MB / 0.8669 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005894/0.6311, allocations: 4.395 MB / 0.8712 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.6311, allocations: 0 / 0.8712 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02022/0.6514, allocations: 9.02 MB / 0.88 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.6514, allocations: 20 kB / 0.8801 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.6515, allocations: 11.98 kB / 0.8801 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.6682, allocations: 4.968 MB / 0.8849 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.6691, allocations: 191.7 kB / 0.8851 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05861/0.7277, allocations: 38.89 MB / 0.9231 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.7296, allocations: 99.89 kB / 0.9232 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/0.7301, allocations: 68 kB / 0.9233 GB, free: 0.543 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001668/0.7318, allocations: 0.8188 MB / 0.9241 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.7322, allocations: 142.3 kB / 0.9242 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/0.7515, allocations: 8.882 MB / 0.9329 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.7515, allocations: 16 kB / 0.9329 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.881e-05/0.7516, allocations: 32 kB / 0.9329 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/0.7517, allocations: 7.969 kB / 0.9329 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/0.7793, allocations: 13.4 MB / 0.946 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.7793, allocations: 4 kB / 0.946 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.7799, allocations: 123.8 kB / 0.9461 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01728/0.7972, allocations: 4.837 MB / 0.9508 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006415/0.7979, allocations: 35.98 kB / 0.9509 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3905/1.188, allocations: 36.81 MB / 0.9868 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.188, allocations: 7.656 kB / 0.9868 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/1.205, allocations: 8.593 MB / 0.9952 GB, free: 180.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.206, allocations: 0.6332 MB / 0.9959 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.206, allocations: 38.2 kB / 0.9959 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.207, allocations: 95.31 kB / 0.996 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/1.208, allocations: 159.5 kB / 0.9961 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.208, allocations: 50.81 kB / 0.9962 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008411/1.209, allocations: 0.7356 MB / 0.9969 GB, free: 180 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.273e-06/1.209, allocations: 0 / 0.9969 GB, free: 180 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00283/1.212, allocations: 1.007 MB / 0.9979 GB, free: 179 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01551/1.228, allocations: 9.192 MB / 1.007 GB, free: 170.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007908/1.235, allocations: 5.932 MB / 1.013 GB, free: 164.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.236, allocations: 3.719 kB / 1.013 GB, free: 164.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00642/1.242, allocations: 3.941 MB / 1.017 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.243, allocations: 239.3 kB / 1.017 GB, free: 160.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04785/1.291, allocations: 31.01 MB / 1.047 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.293, allocations: 1.855 MB / 1.049 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007354/1.293, allocations: 361.9 kB / 1.049 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/1.294, allocations: 0.6047 MB / 1.05 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/1.294, allocations: 0 / 1.05 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09852/1.392, allocations: 76.17 MB / 1.124 GB, free: 50.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.54, allocations: 14.69 kB / 1.124 GB, free: 50.31 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)