Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4094/0.4094, allocations: 78.55 MB / 93.67 MB, free: 4.223 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 105.7 kB / 113.2 MB, free: 10.1 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 193.9 kB / 132.9 MB, free: 6.473 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 375.2 MB, free: 4.078 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7722/0.7722, allocations: 62.47 MB / 0.4947 GB, free: 8.5 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 10000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 10000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 119.8 kB / 0.5746 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5187, allocations: 69.5 MB / 0.6425 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM): time 0.004819/0.5236, allocations: 4.566 MB / 0.6469 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.5259, allocations: 1.386 MB / 0.6483 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.5262, allocations: 5.969 kB / 0.6483 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.5265, allocations: 107.5 kB / 0.6484 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.527, allocations: 228.8 kB / 0.6486 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5281, allocations: 0.6222 MB / 0.6492 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.5289, allocations: 0.9853 MB / 0.6502 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.5292, allocations: 145.4 kB / 0.6503 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.5295, allocations: 400.6 kB / 0.6507 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.5301, allocations: 0.5387 MB / 0.6512 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.5302, allocations: 51.81 kB / 0.6513 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.5305, allocations: 110.9 kB / 0.6514 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.5306, allocations: 183.7 kB / 0.6515 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.5309, allocations: 399.2 kB / 0.6519 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.5317, allocations: 1.016 MB / 0.6529 GB, free: 10.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5317, allocations: 0 / 0.6529 GB, free: 10.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5317, allocations: 0 / 0.6529 GB, free: 10.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.5317, allocations: 0 / 0.6529 GB, free: 10.01 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005578/0.5373, allocations: 1.751 MB / 0.6546 GB, free: 8.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5374, allocations: 14 kB / 0.6546 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5375, allocations: 97.42 kB / 0.6547 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.54, allocations: 416.3 kB / 0.6551 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.5407, allocations: 0.5574 MB / 0.6557 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5409, allocations: 137.4 kB / 0.6558 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.541, allocations: 51.47 kB / 0.6558 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.5426, allocations: 0.8623 MB / 0.6567 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.5426, allocations: 0 / 0.6567 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.5427, allocations: 23.97 kB / 0.6567 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.5427, allocations: 13.38 kB / 0.6567 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.5447, allocations: 0.9756 MB / 0.6577 GB, free: 7.02 MB / 446.1 MB 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.003162/0.5479, allocations: 2.286 MB / 0.6599 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.5496, allocations: 1.243 MB / 0.6611 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/0.5505, allocations: 0.6215 MB / 0.6617 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.5506, allocations: 12.98 kB / 0.6617 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5507, allocations: 47.5 kB / 0.6618 GB, free: 2.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.064e-06/0.5507, allocations: 0 / 0.6618 GB, free: 2.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.01631/0.567, allocations: 4.731 MB / 0.6664 GB, free: 14.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.5671, allocations: 86.11 kB / 0.6665 GB, free: 13.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.5679, allocations: 0.542 MB / 0.667 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.568, allocations: 37.7 kB / 0.6671 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5683, allocations: 285.1 kB / 0.6673 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.5686, allocations: 319.4 kB / 0.6676 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.5689, allocations: 122.7 kB / 0.6678 GB, free: 12.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5691, allocations: 386.7 kB / 0.6681 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5701, allocations: 489.8 kB / 0.6686 GB, free: 11.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.5712, allocations: 0.5853 MB / 0.6692 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.5897, allocations: 3.975 MB / 0.673 GB, free: 7.129 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.5897, allocations: 4 kB / 0.673 GB, free: 7.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.009157/0.5989, allocations: 2.862 MB / 0.6758 GB, free: 4.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5989, allocations: 4 kB / 0.6758 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.599, allocations: 8.156 kB / 0.6759 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/0.603, allocations: 1.151 MB / 0.677 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.6038, allocations: 111.8 kB / 0.6771 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.6183, allocations: 6.53 MB / 0.6835 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6195, allocations: 107.3 kB / 0.6836 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6197, allocations: 27.98 kB / 0.6836 GB, free: 12.17 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: DPIM.s:VARIABLE(start = DPIM.s0 unit = "1" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (68): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004643/0.6201, allocations: 197.7 kB / 0.6838 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.6204, allocations: 75.06 kB / 0.6838 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009089/0.6295, allocations: 2.918 MB / 0.6867 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6295, allocations: 8 kB / 0.6867 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.6296, allocations: 8 kB / 0.6867 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6296, allocations: 7.922 kB / 0.6867 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6405, allocations: 4.055 MB / 0.6907 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.6405, allocations: 0 / 0.6907 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.6413, allocations: 99.89 kB / 0.6908 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/0.6453, allocations: 1.129 MB / 0.6919 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.6454, allocations: 19.94 kB / 0.6919 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.6584, allocations: 5.78 MB / 0.6975 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6584, allocations: 0 / 0.6975 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.6692, allocations: 3.714 MB / 0.7012 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.6696, allocations: 160 kB / 0.7013 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.6698, allocations: 19.98 kB / 0.7013 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6708, allocations: 63.95 kB / 0.7014 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/0.6714, allocations: 140.7 kB / 0.7015 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/0.6715, allocations: 24 kB / 0.7016 GB, free: 9.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.672, allocations: 390.9 kB / 0.7019 GB, free: 9.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.672, allocations: 3.938 kB / 0.7019 GB, free: 9.078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001144/0.6731, allocations: 307.8 kB / 0.7022 GB, free: 8.777 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,DPIM.s,Inf.omega) * 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 (59): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,22,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0107/0.6839, allocations: 4.274 MB / 0.7064 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004524/0.6884, allocations: 1.702 MB / 0.7081 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6884, allocations: 0 / 0.7081 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.6916, allocations: 1.136 MB / 0.7092 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.6926, allocations: 70.3 kB / 0.7092 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/0.7207, allocations: 11.22 MB / 0.7202 GB, free: 6.16 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.7214, allocations: 0.94 MB / 0.7211 GB, free: 5.191 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.7219, allocations: 73.14 kB / 0.7212 GB, free: 5.121 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.7224, allocations: 267.3 kB / 0.7214 GB, free: 4.859 MB / 0.4982 GB Notification: Performance of SimCode: time 6.01e-07/0.7224, allocations: 0 / 0.7214 GB, free: 4.859 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.763, allocations: 20.97 MB / 0.7419 GB, free: 148 kB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004521/0.7635, allocations: 296.7 kB / 0.7422 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.155, allocations: 3.125 kB / 0.7422 GB, free: 15.75 MB / 0.5294 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainDPIM.pipe 2>&1)