Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9781/0.9781, allocations: 175.7 MB / 480.1 MB, free: 3.168 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 64 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1516, allocations: 94.53 MB / 0.7601 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04089/0.1925, allocations: 36.65 MB / 0.7959 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.2113, allocations: 11.94 MB / 0.8075 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.2139, allocations: 159.3 kB / 0.8077 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.2244, allocations: 4.412 MB / 0.812 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.2295, allocations: 2.092 MB / 0.814 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005563/0.2351, allocations: 2.473 MB / 0.8164 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009622/0.2447, allocations: 8.456 MB / 0.8247 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00884/0.2535, allocations: 5.869 MB / 0.8304 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.2584, allocations: 3.79 MB / 0.8341 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005944/0.2644, allocations: 4.428 MB / 0.8385 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.3097/0.5741, allocations: 0.7783 MB / 0.8392 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.5786, allocations: 2.061 MB / 0.8412 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003766/0.5824, allocations: 3.135 MB / 0.8443 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004694/0.5871, allocations: 3.401 MB / 0.8476 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.6015, allocations: 12.02 MB / 0.8593 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.6015, allocations: 4.875 kB / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6015, allocations: 0 / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.00036/0.6019, allocations: 0 / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01382/0.6157, allocations: 5.94 MB / 0.8652 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6158, allocations: 9.812 kB / 0.8652 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.617, allocations: 0.8048 MB / 0.8659 GB, free: 17.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.6225, allocations: 1.088 MB / 0.867 GB, free: 17.14 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.6276, allocations: 3.473 MB / 0.8704 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6279, allocations: 413.3 kB / 0.8708 GB, free: 16.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009622/0.6288, allocations: 0.5356 MB / 0.8713 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.642, allocations: 9.088 MB / 0.8802 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.6421, allocations: 31.25 kB / 0.8802 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005536/0.6427, allocations: 233.1 kB / 0.8804 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.6429, allocations: 354.4 kB / 0.8808 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008605/0.6515, allocations: 6.826 MB / 0.8875 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/0.685, allocations: 39.86 MB / 0.9264 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.6882, allocations: 2.903 MB / 0.9292 GB, free: 4.711 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.6903, allocations: 1.788 MB / 0.931 GB, free: 3.781 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.6904, allocations: 21.44 kB / 0.931 GB, free: 3.777 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.6904, allocations: 48.53 kB / 0.931 GB, free: 3.727 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.156e-06/0.6905, allocations: 0 / 0.931 GB, free: 3.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02375/0.7142, allocations: 9.995 MB / 0.9408 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7143, allocations: 73.41 kB / 0.9409 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.7162, allocations: 1.53 MB / 0.9424 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.7163, allocations: 53.7 kB / 0.9424 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.7178, allocations: 2.328 MB / 0.9447 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.7183, allocations: 0.6597 MB / 0.9453 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006081/0.7189, allocations: 404.2 kB / 0.9457 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7191, allocations: 313 kB / 0.946 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.7207, allocations: 1.176 MB / 0.9472 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.7228, allocations: 1.887 MB / 0.949 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.7269, allocations: 3.369 MB / 0.9523 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.7269, allocations: 8 kB / 0.9523 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007191/0.7341, allocations: 4.537 MB / 0.9567 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7341, allocations: 16 kB / 0.9567 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.7341, allocations: 24.28 kB / 0.9568 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/0.7377, allocations: 1.585 MB / 0.9583 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7388, allocations: 353.8 kB / 0.9586 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/0.7619, allocations: 18.61 MB / 0.9768 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7638, allocations: 115.9 kB / 0.9769 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.764, allocations: 96 kB / 0.977 GB, free: 4.453 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003263/0.7673, allocations: 1.896 MB / 0.9789 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004554/0.7677, allocations: 242.5 kB / 0.9791 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/0.7746, allocations: 4.04 MB / 0.9831 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7746, allocations: 16 kB / 0.9831 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.7747, allocations: 16 kB / 0.9831 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7747, allocations: 11.97 kB / 0.9831 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.7891, allocations: 9.418 MB / 0.9923 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.7891, allocations: 4 kB / 0.9923 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.7899, allocations: 182.3 kB / 0.9925 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/0.7932, allocations: 1.35 MB / 0.9938 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7934, allocations: 36 kB / 0.9938 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02116/0.8145, allocations: 17.37 MB / 1.011 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8145, allocations: 7.375 kB / 1.011 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/0.8211, allocations: 4.032 MB / 1.015 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009408/0.822, allocations: 0.5385 MB / 1.015 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.8222, allocations: 39.98 kB / 1.015 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.8231, allocations: 83.91 kB / 1.015 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.8235, allocations: 156.8 kB / 1.016 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.8236, allocations: 48 kB / 1.016 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001329/0.8249, allocations: 1.011 MB / 1.017 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.8249, allocations: 0 / 1.017 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002761/0.8277, allocations: 0.9844 MB / 1.018 GB, free: 10.31 MB / 0.7637 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006588/0.8343, allocations: 4.639 MB / 1.022 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00659/0.8409, allocations: 4.16 MB / 1.026 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8409, allocations: 3.375 kB / 1.026 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.845, allocations: 2.575 MB / 1.029 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.8482, allocations: 0.7818 MB / 1.029 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/0.8891, allocations: 27.01 MB / 1.056 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/0.8932, allocations: 3.576 MB / 1.059 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001258/0.8944, allocations: 459.9 kB / 1.06 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/0.8964, allocations: 1.788 MB / 1.061 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of SimCode: time 7.81e-07/0.8964, allocations: 0 / 1.061 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/1.03, allocations: 74.82 MB / 1.135 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.26, allocations: 8.047 kB / 1.135 GB, free: 2.465 MB / 0.8731 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.847903715999564]