Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001608/0.001608, allocations: 101.6 kB / 16.4 MB, free: 6.484 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.001715/0.001715, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 70.02 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 76.17 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01291/0.1647, allocations: 10 MB / 0.6414 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.1708, allocations: 3.045 MB / 0.6443 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.172, allocations: 39.81 kB / 0.6444 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.1745, allocations: 0.6828 MB / 0.645 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.1766, allocations: 0.6883 MB / 0.6457 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1785, allocations: 0.6355 MB / 0.6463 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003678/0.1822, allocations: 2.734 MB / 0.649 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.1857, allocations: 2.533 MB / 0.6515 GB, free: 448 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.1881, allocations: 1.137 MB / 0.6526 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.1907, allocations: 1.383 MB / 0.6539 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.1915, allocations: 216 kB / 0.6541 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.1932, allocations: 495.4 kB / 0.6546 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.1949, allocations: 0.9785 MB / 0.6556 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.1973, allocations: 1.015 MB / 0.6566 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.2023, allocations: 3.405 MB / 0.6599 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2023, allocations: 0 / 0.6599 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2024, allocations: 0 / 0.6599 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001124/0.2025, allocations: 3.984 kB / 0.6599 GB, free: 7.797 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00509/0.2076, allocations: 1.947 MB / 0.6618 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2076, allocations: 12.03 kB / 0.6618 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005829/0.2082, allocations: 256.7 kB / 0.6621 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.2141, allocations: 0.8805 MB / 0.6629 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.2167, allocations: 1.161 MB / 0.664 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.2168, allocations: 103.3 kB / 0.6641 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.2171, allocations: 148.2 kB / 0.6643 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004886/0.222, allocations: 3.021 MB / 0.6672 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.2221, allocations: 15.92 kB / 0.6673 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.2224, allocations: 60.02 kB / 0.6673 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.2226, allocations: 178.9 kB / 0.6675 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.2268, allocations: 2.608 MB / 0.67 GB, free: 13.2 MB / 0.5137 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.01732/0.2442, allocations: 13.48 MB / 0.6832 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.2462, allocations: 1.292 MB / 0.6845 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.2475, allocations: 1.066 MB / 0.6855 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.2476, allocations: 12.64 kB / 0.6855 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2476, allocations: 43.22 kB / 0.6855 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/0.2476, allocations: 0 / 0.6855 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07344/0.3211, allocations: 19.4 MB / 0.7045 GB, free: 8.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.3212, allocations: 64.72 kB / 0.7045 GB, free: 8.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3225, allocations: 0.9183 MB / 0.7054 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.3227, allocations: 49.7 kB / 0.7055 GB, free: 7.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.3232, allocations: 0.7322 MB / 0.7062 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.3236, allocations: 489 kB / 0.7067 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.3242, allocations: 287.5 kB / 0.7069 GB, free: 6.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3244, allocations: 353.9 kB / 0.7073 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.3262, allocations: 1.335 MB / 0.7086 GB, free: 4.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.3283, allocations: 1.659 MB / 0.7102 GB, free: 2.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003906/0.3322, allocations: 3.092 MB / 0.7132 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3323, allocations: 3.938 kB / 0.7132 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01163/0.3439, allocations: 5.629 MB / 0.7187 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.344, allocations: 11.94 kB / 0.7187 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.344, allocations: 8 kB / 0.7187 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008383/0.3524, allocations: 2.724 MB / 0.7214 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.3532, allocations: 203.5 kB / 0.7216 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03438/0.3876, allocations: 25.69 MB / 0.7467 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.3892, allocations: 95.95 kB / 0.7468 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.3894, allocations: 63.98 kB / 0.7468 GB, free: 12.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001109/0.3905, allocations: 0.7354 MB / 0.7476 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.3908, allocations: 114.6 kB / 0.7477 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.4015, allocations: 5.392 MB / 0.7529 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4016, allocations: 19.94 kB / 0.753 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.97e-05/0.4016, allocations: 16 kB / 0.753 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/0.4017, allocations: 11.97 kB / 0.753 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3004/0.7021, allocations: 8.677 MB / 0.7615 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.7022, allocations: 7.562 kB / 0.7615 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.7027, allocations: 122 kB / 0.7616 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008955/0.7116, allocations: 2.593 MB / 0.7641 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.7119, allocations: 27.19 kB / 0.7641 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02951/0.7414, allocations: 24.15 MB / 0.7877 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7415, allocations: 3.969 kB / 0.7877 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008869/0.7503, allocations: 5.253 MB / 0.7929 GB, free: 101.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7515, allocations: 495 kB / 0.7933 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.7517, allocations: 30.34 kB / 0.7934 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.7526, allocations: 77.56 kB / 0.7934 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.7531, allocations: 126 kB / 0.7936 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/0.7532, allocations: 36.56 kB / 0.7936 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000607/0.7538, allocations: 0.6431 MB / 0.7942 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7538, allocations: 3.094 kB / 0.7942 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002028/0.7559, allocations: 0.7212 MB / 0.7949 GB, free: 100.6 MB / 0.5919 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008932/0.7648, allocations: 5.83 MB / 0.8006 GB, free: 94.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005452/0.7703, allocations: 4.209 MB / 0.8047 GB, free: 90.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7703, allocations: 4.188 kB / 0.8047 GB, free: 90.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.7746, allocations: 2.696 MB / 0.8074 GB, free: 87.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7759, allocations: 224.9 kB / 0.8076 GB, free: 87.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03062/0.8065, allocations: 21.41 MB / 0.8285 GB, free: 65.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.8078, allocations: 1.708 MB / 0.8302 GB, free: 64.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000696/0.8085, allocations: 322.3 kB / 0.8305 GB, free: 63.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.8091, allocations: 0.5305 MB / 0.831 GB, free: 63.27 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.8091, allocations: 0 / 0.831 GB, free: 63.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07483/0.8839, allocations: 53.75 MB / 0.8835 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.71, allocations: 8.172 kB / 0.8835 GB, free: 9.879 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)